From 6e31344466e2558a99cd46bb29abaa37e1faffc6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 10 Oct 2019 17:17:09 +0100 Subject: [Minor] Fix compile warnings --- src/libutil/printf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libutil/printf.c') diff --git a/src/libutil/printf.c b/src/libutil/printf.c index b0229c73a..972d34e82 100644 --- a/src/libutil/printf.c +++ b/src/libutil/printf.c @@ -593,7 +593,7 @@ rspamd_vprintf_common (rspamd_printf_append_func func, { gchar zero, numbuf[G_ASCII_DTOSTR_BUF_SIZE], dtoabuf[32], *p, *last; guchar c; - const gchar *buf_start = fmt, *fmt_start = NULL; + const gchar *buf_start = fmt; gint d; gdouble f; glong written = 0, wr, slen; @@ -623,8 +623,6 @@ rspamd_vprintf_common (rspamd_printf_append_func func, written += wr; } - fmt_start = fmt; - i64 = 0; ui64 = 0; -- cgit v1.2.3