From c4f2ac294b49c6025d65bec5e8d94a6f52247e34 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 10 Jul 2018 19:04:05 +0200 Subject: Fix compilation error 'unitialized variable' Change-Id: I5add16da1851262268eca5f71ee793cbb6ef62dc Signed-off-by: Romain Forlot --- src/plugins/influxdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/influxdb.h b/src/plugins/influxdb.h index 8fb734d..cd7b222 100644 --- a/src/plugins/influxdb.h +++ b/src/plugins/influxdb.h @@ -65,7 +65,7 @@ static inline int should_escape(char c, bool quoteOnly) */ static inline char* escape_chr(const char* src, bool quoteOnly) { - int j, i = 0; + int j = 0, i = 0; size_t len, src_len; char* res; -- cgit 1.2.3-korg