summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2010-08-22 00:56:19 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2010-08-22 00:56:19 +0000
commitb5e2d0582328657b9ca19fe0e08364c05b081ef9 (patch)
treec89a821631c8fad3b445754a9bf4bdd927f42ffd
parent4053ea8d8b7096f2c7b7c7fa309ef14fa764a850 (diff)
variables are unused in the HAVE_ARES case, make gcc shut up
-rw-r--r--zwgc/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zwgc/main.c b/zwgc/main.c
index fae85b9..2979d73 100644
--- a/zwgc/main.c
+++ b/zwgc/main.c
@@ -396,8 +396,10 @@ create_punt_reply(int_dictionary_binding *punt)
void
notice_handler(ZNotice_t *notice)
{
+#ifndef HAVE_ARES
int ret;
char node[MAXDNAME];
+#endif
#if defined(CMU_ZWGCPLUS)
list_add_notice(notice);