aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_qnaplog.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2012-01-08 08:14:04 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2012-01-08 08:14:04 +0000
commitd63168bd84bc42190075fe5ce0ba7124d00e44ef (patch)
treed388c56d7f3c959827677de64600ca52aa6d8cb3 /plugin_qnaplog.c
parentb225453a3f4145f8e30c9a5ce5c5441e2337b39e (diff)
downloadlcd4linux-d63168bd84bc42190075fe5ce0ba7124d00e44ef.tar.gz
ATCH 1/2] gcc warnings by Jonathan McCrohan
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1166 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_qnaplog.c')
-rw-r--r--plugin_qnaplog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin_qnaplog.c b/plugin_qnaplog.c
index ef7ad77..b574b19 100644
--- a/plugin_qnaplog.c
+++ b/plugin_qnaplog.c
@@ -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) {