From 864f1f0d230d90bb886c0a9aa47f9f926f428f69 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Mon, 30 Jun 2014 23:37:37 +0100 Subject: [PATCH] Initialise variable. --- src/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loop.c b/src/loop.c index ffa1d5c5..ca252f7f 100644 --- a/src/loop.c +++ b/src/loop.c @@ -59,7 +59,7 @@ int mosquitto_main_loop(struct mosquitto_db *db, int *listensock, int listensock time_t start_time = mosquitto_time(); time_t last_backup = mosquitto_time(); time_t last_store_clean = mosquitto_time(); - time_t now; + time_t now = 0; time_t now_time; int time_count; int fdcount;