summaryrefslogtreecommitdiffstats
path: root/src/symbols_cache.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-23 15:13:50 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-23 15:13:50 +0400
commit411f4a081f36c8305b6c9b750e8f43fc50beb879 (patch)
treecfa9bb2fa105ce79d614afd29ba0b20e8bbb3041 /src/symbols_cache.c
parent18ce6f0c60f1125c5344d9fd8e90e5ea2941bf01 (diff)
downloadrspamd-411f4a081f36c8305b6c9b750e8f43fc50beb879.tar.gz
rspamd-411f4a081f36c8305b6c9b750e8f43fc50beb879.zip
* Fix -lintl detection
* Init some variables to avoid problems
Diffstat (limited to 'src/symbols_cache.c')
-rw-r--r--src/symbols_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/symbols_cache.c b/src/symbols_cache.c
index f24380f28..b22f85dc8 100644
--- a/src/symbols_cache.c
+++ b/src/symbols_cache.c
@@ -42,8 +42,8 @@
#define MIN_CACHE 17
-static uint64_t total_frequency;
-static uint32_t nsymbols;
+static uint64_t total_frequency = 0;
+static uint32_t nsymbols = 0;
int
cache_cmp (const void *p1, const void *p2)