aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/archives.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-05 12:57:58 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-05 12:57:58 +0100
commit2d0e4061c78be4c7d1fc713a7e2f199f26134658 (patch)
treeeb68a54f825e13e7e1652820a37a7fe8fefeedc6 /src/libmime/archives.c
parent39fec823f124a82dd6a4bcd06a53a0ff062f4ac0 (diff)
downloadrspamd-2d0e4061c78be4c7d1fc713a7e2f199f26134658.tar.gz
rspamd-2d0e4061c78be4c7d1fc713a7e2f199f26134658.zip
[Minor] Fix couple of warnings and disable -pedantic mode
Diffstat (limited to 'src/libmime/archives.c')
-rw-r--r--src/libmime/archives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/archives.c b/src/libmime/archives.c
index 2a38a3641..5fdf8e47a 100644
--- a/src/libmime/archives.c
+++ b/src/libmime/archives.c
@@ -252,7 +252,7 @@ rspamd_archive_process_rar_v4 (struct rspamd_task *task, const guchar *start,
const guchar *p = start, *start_section;
guint8 type;
guint flags;
- guint64 sz, comp_sz, uncomp_sz;
+ guint64 sz, comp_sz = 0, uncomp_sz = 0;
struct rspamd_archive *arch;
struct rspamd_archive_file *f;