Skip to content

Commit d63168b

Browse files
author
michael
committed
ATCH 1/2] gcc warnings by Jonathan McCrohan
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1166 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
1 parent b225453 commit d63168b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin_qnaplog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ static void my_conn(RESULT * result, RESULT * arg1)
281281
time_t accesstime;
282282

283283

284-
value = -1;
284+
value = NULL;
285285
key = R2S(arg1);
286286

287287
if (configureConn() >= 0) {
@@ -337,7 +337,7 @@ static void my_event(RESULT * result, RESULT * arg1)
337337
time_t accesstime;
338338

339339

340-
value = -1;
340+
value = NULL;
341341
key = R2S(arg1);
342342

343343
if (configureEvent() >= 0) {

0 commit comments

Comments
 (0)