summaryrefslogtreecommitdiffstats
path: root/src/symbols_cache.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-05-31 17:17:13 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-05-31 17:17:13 +0400
commit0612e84b3cec508c3d62d38c4e2682c85cc808bb (patch)
treedb777e38f9c528127e195ad01da6a3088dc6da4a /src/symbols_cache.c
parentae3eb4dfd787052bebc732c3e37b56f0800e1aa2 (diff)
downloadrspamd-0612e84b3cec508c3d62d38c4e2682c85cc808bb.tar.gz
rspamd-0612e84b3cec508c3d62d38c4e2682c85cc808bb.zip
* Fix strict aliasing while compiling with optimization
* Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings
Diffstat (limited to 'src/symbols_cache.c')
-rw-r--r--src/symbols_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/symbols_cache.c b/src/symbols_cache.c
index f1589226a..a632152e4 100644
--- a/src/symbols_cache.c
+++ b/src/symbols_cache.c
@@ -525,7 +525,7 @@ call_symbol_callback (struct worker_task * task, struct symbols_cache * cache, g
{
struct timespec ts1, ts2;
uint64_t diff;
- struct cache_item *item;
+ struct cache_item *item = NULL;
struct symbol_callback_data *s = *save;
if (s == NULL) {