From d63168bd84bc42190075fe5ce0ba7124d00e44ef Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 8 Jan 2012 08:14:04 +0000 Subject: ATCH 1/2] gcc warnings by Jonathan McCrohan git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1166 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- plugin_qnaplog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin_qnaplog.c') 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) { -- cgit v1.2.3