]> git.webhop.me Git - lcd4linux.git/commitdiff
ATCH 1/2] gcc warnings by Jonathan McCrohan
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 8 Jan 2012 08:14:04 +0000 (08:14 +0000)
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 8 Jan 2012 08:14:04 +0000 (08:14 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1166 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

plugin_qnaplog.c

index ef7ad77229ff5e1a262cac5df8b1d08d3bdacf1a..b574b192e1212fbc6d489f5517836858180248f0 100644 (file)
@@ -281,7 +281,7 @@ static void my_conn(RESULT * result, RESULT * arg1)
     time_t accesstime;
 
 
-    value = -1;
+    value = NULL;
     key = R2S(arg1);
 
     if (configureConn() >= 0) {
@@ -337,7 +337,7 @@ static void my_event(RESULT * result, RESULT * arg1)
     time_t accesstime;
 
 
-    value = -1;
+    value = NULL;
     key = R2S(arg1);
 
     if (configureEvent() >= 0) {