summaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 764ce843b9..26daf39fb2 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -103,7 +103,7 @@ static int dns_resolve_impl(edge_connection_t *exitconn, int is_resolve,
static void _assert_cache_ok(void);
#define assert_cache_ok() _assert_cache_ok()
#else
-#define assert_cache_ok() do {} while (0)
+#define assert_cache_ok() STMT_NIL
#endif
static void assert_resolve_ok(cached_resolve_t *resolve);