From: msweet Date: Tue, 9 Dec 2014 18:19:45 +0000 (+0000) Subject: Eliminate compiler warning. X-Git-Tag: v2.2b1~420 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a15691ae71bcdad5ebbe67342e6bd8dbd8a07df;p=thirdparty%2Fcups.git Eliminate compiler warning. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12315 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/test/ippserver.c b/test/ippserver.c index 2a69830494..e6f4094e59 100644 --- a/test/ippserver.c +++ b/test/ippserver.c @@ -5545,7 +5545,9 @@ register_printer( int duplex, /* I - 1 = duplex, 0 = simplex */ const char *subtype) /* I - Service subtype */ { +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) _ipp_txt_t ipp_txt; /* Bonjour IPP TXT record */ +#endif /* HAVE_DNSSD || HAVE_AVAHI */ #ifdef HAVE_DNSSD DNSServiceErrorType error; /* Error from Bonjour */ char make_model[256],/* Make and model together */