[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cups-commit
Subject:    [cups.commit] [CUPS] r10555 - trunk/cups
From:       cups-dev () easysw ! com
Date:       2012-07-27 18:01:07
Message-ID: 11327-cups.commit () news ! easysw ! com
[Download RAW message or body]

Author: mike
Date: 2012-07-27 11:01:06 -0700 (Fri, 27 Jul 2012)
New Revision: 10555
Log:
Eliminate build warning.


Modified:
   trunk/cups/dest.c

Modified: trunk/cups/dest.c
===================================================================
--- trunk/cups/dest.c	2012-07-27 17:57:49 UTC (rev 10554)
+++ trunk/cups/dest.c	2012-07-27 18:01:06 UTC (rev 10555)
@@ -2679,8 +2679,10 @@
     AvahiLookupResultFlags flags,	/* I - Flags */
     void                   *context)	/* I - Devices array */
 {
+#ifdef DEBUG
   AvahiClient		*client = avahi_service_browser_get_client(browser);
 					/* Client information */
+#endif /* DEBUG */
   _cups_dnssd_data_t	*data = (_cups_dnssd_data_t *)context;
 					/* Enumeration data */
 
@@ -3064,8 +3066,10 @@
     AvahiLookupResultFlags flags,	/* I - Flags */
     void                   *context)	/* I - Enumeration data */
 {
+#    ifdef DEBUG
   AvahiClient		*client = avahi_record_browser_get_client(browser);
 					/* Client information */
+#    endif /* DEBUG */
 #  endif /* HAVE_DNSSD */
   _cups_dnssd_data_t	*data = (_cups_dnssd_data_t *)context;
 					/* Enumeration data */

_______________________________________________
cups-commit mailing list
cups-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/cups-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic