aboutsummaryrefslogtreecommitdiffstats
path: root/src/upstream.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-10-11 18:39:56 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-10-11 18:39:56 +0400
commitdbee2f63ee747b5d4247038f27566bc5aebfe3b7 (patch)
treec2d60701691ab106e593be24a6974ab7dc0e6fa1 /src/upstream.c
parentb0ce5fefb9e694083846af1e45b09f4baa4b0446 (diff)
downloadrspamd-dbee2f63ee747b5d4247038f27566bc5aebfe3b7.tar.gz
rspamd-dbee2f63ee747b5d4247038f27566bc5aebfe3b7.zip
Fixes bugs found with clang-static analyser.
Strictly follow c99 standart. Turn on pedantic c99 checks.
Diffstat (limited to 'src/upstream.c')
-rw-r--r--src/upstream.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/upstream.c b/src/upstream.c
index 115db5137..aaefd740f 100644
--- a/src/upstream.c
+++ b/src/upstream.c
@@ -25,11 +25,6 @@
#include "config.h"
#include "upstream.h"
-#ifdef WITH_DEBUG
-# define msg_debug(args...) syslog(LOG_DEBUG, ##args)
-#else
-# define msg_debug(args...) do {} while(0)
-#endif
#ifdef _THREAD_SAFE
pthread_rwlock_t upstream_mtx = PTHREAD_RWLOCK_INITIALIZER;
@@ -510,7 +505,6 @@ get_upstream_by_hash_ketama (void *ups, size_t members, size_t msize, time_t now
#undef U_LOCK
#undef U_UNLOCK
-#undef msg_debug
/*
* vi:ts=4
*/