summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/influxdb.h2
1 files changed, 1 insertions, 1 deletions
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;