changeset 15893:efdd557ed187

Silence a warning about purple_network_finish_pmp_map_cb being defined but not used
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 24 Mar 2007 21:14:12 +0000
parents 2f6ea4cbcbb3
children 342ce259b899
files libpurple/network.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/network.c	Sat Mar 24 20:53:19 2007 +0000
+++ b/libpurple/network.c	Sat Mar 24 21:14:12 2007 +0000
@@ -250,6 +250,7 @@
 	purple_network_listen_cancel(listen_data);
 }
 
+#ifdef ENABLE_NAT_PMP
 static gboolean
 purple_network_finish_pmp_map_cb(gpointer data)
 {
@@ -264,6 +265,7 @@
 
 	return FALSE;
 }
+#endif
 
 static PurpleNetworkListenData *
 purple_network_do_listen(unsigned short port, int socket_type, PurpleNetworkListenCallback cb, gpointer cb_data)