From a9a51459c75035455cff5fdc2dd9595f0f383bc5 Mon Sep 17 00:00:00 2001 From: Kano Date: Fri, 14 Feb 2014 15:24:36 +1100 Subject: [PATCH] api.c avoid incorrect gcc warning --- api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.c b/api.c index 425c242f..4f63466f 100644 --- a/api.c +++ b/api.c @@ -3737,7 +3737,7 @@ void api(int api_thr_id) json_t *json_config = NULL; json_t *json_val; bool isjson; - bool did, isjoin, firstjoin; + bool did, isjoin = false, firstjoin; int i; SOCKETTYPE *apisock;