aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/printf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-10 17:17:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-10 17:17:09 +0100
commit6e31344466e2558a99cd46bb29abaa37e1faffc6 (patch)
treeae51cd2a56c252d6f0df6755b76719fe121e81e3 /src/libutil/printf.c
parentc4d3eb4af41a17cf28cb4fbb171d9b70d98259b5 (diff)
downloadrspamd-6e31344466e2558a99cd46bb29abaa37e1faffc6.tar.gz
rspamd-6e31344466e2558a99cd46bb29abaa37e1faffc6.zip
[Minor] Fix compile warnings
Diffstat (limited to 'src/libutil/printf.c')
-rw-r--r--src/libutil/printf.c4
1 files changed, 1 insertions, 3 deletions
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;