diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-21 17:35:29 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-21 17:35:29 +0400 |
commit | fd6c856b34c8fda53b7e45e3dcc17625206ed4fb (patch) | |
tree | b4c8d1c62937038cb39bdcf7879110525fb05480 /src/logger.c | |
parent | 875d1dd367eb433ae77a092148f483e9b9449a47 (diff) | |
download | rspamd-fd6c856b34c8fda53b7e45e3dcc17625206ed4fb.tar.gz rspamd-fd6c856b34c8fda53b7e45e3dcc17625206ed4fb.zip |
Add workaround for clang under linux.
Fix problems found by static analyzing.
Diffstat (limited to 'src/logger.c')
-rw-r--r-- | src/logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.c b/src/logger.c index 0d9f9c988..07b0eca34 100644 --- a/src/logger.c +++ b/src/logger.c @@ -456,7 +456,7 @@ file_log_function (const gchar * log_domain, const gchar *function, GLogLevelFla time_t now; struct tm *tms; struct iovec iov[4]; - gint r; + gint r = 0; guint32 cksum; size_t mlen; const gchar *cptype = NULL; |