Hi,
I've integrated the extension-functions.c code into an R package so that
these functions can be used in R via RSQLite. In the process, I came
across a couple of compiler warnings that seemed to have easy fixes. I
could not find contact information for Liam Healy so am posting this here.
Thanks,
+ seth
diff -u extension-functions.c.orig extension-functions.c
--- extension-functions.c.orig 2010-05-29 07:06:39.000000000 -0700
+++ extension-functions.c 2010-05-29 06:52:58.000000000 -0700
@@ -160,7 +160,6 @@
typedef struct map{
node *base;
cmp_func cmp;
- short free;
} map;
/*
@@ -616,7 +615,6 @@
*/
static void ceilFunc(sqlite3_context *context, int argc, sqlite3_value
**argv){
double rVal=0.0;
- i64 iVal=0;
assert( argc==1 );
switch( sqlite3_value_type(argv[0]) ){
case SQLITE_INTEGER: {
@@ -641,7 +639,6 @@
*/
static void floorFunc(sqlite3_context *context, int argc, sqlite3_value
**argv){
double rVal=0.0;
- i64 iVal=0;
assert( argc==1 );
switch( sqlite3_value_type(argv[0]) ){
case SQLITE_INTEGER: {
--
Seth Falcon | @sfalcon | http://userprimary.net/
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users