summaryrefslogtreecommitdiffstats
path: root/source3/printing
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/pcap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c
index c5524ad53d..726111816d 100644
--- a/source3/printing/pcap.c
+++ b/source3/printing/pcap.c
@@ -181,7 +181,11 @@ void pcap_cache_reload(struct tevent_context *ev,
pcap_reloaded = std_pcap_cache_reload(pcap_name, &pcache);
+/* Fix silly compiler warning about done not being used if none of the above
+ * ifdefs are used */
+#if defined(HAVE_CUPS) || defined(HAVE_IPRINT) || defined(SYSV) || defined(HPUX) || defined(AIX)
done:
+#endif
DEBUG(3, ("reload status: %s\n", (pcap_reloaded) ? "ok" : "error"));
if ((pcap_reloaded) && (post_cache_fill_fn_handled == false)) {