From a69fa5ccdd1b9c3e9ec9ca25c15fc7b15403eec4 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 27 Sep 2018 09:20:48 -0400 Subject: [PATCH] TT#44639 compile warning fix for c97a5645 Change-Id: Iaa10bd44c99dd561f29805f0d6f75c30b117c090 --- medmysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/medmysql.c b/medmysql.c index 178f85c..4373ca5 100644 --- a/medmysql.c +++ b/medmysql.c @@ -418,7 +418,7 @@ int medmysql_insert_records(med_entry_t *records, uint64_t count, const char *ta char *sql_buffer = NULL; size_t sql_buffer_size = (count + 1) * 1024; // some extra space for sql overhead size_t buflen = 0; - int ret, entries = 0; + int ret = 0, entries = 0; if (!count) return 0;