[nautilus-sendto] Fix compile-time warnings



commit 82ad03867619fd02b50b00f34c2ec2e943551a7d
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Sep 23 13:11:14 2009 +0100

    Fix compile-time warnings

 src/plugins/bluetooth/Makefile.am |    6 +++---
 src/plugins/upnp/upnp.c           |    1 -
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/bluetooth/Makefile.am b/src/plugins/bluetooth/Makefile.am
index e11e9fc..b78c8fd 100644
--- a/src/plugins/bluetooth/Makefile.am
+++ b/src/plugins/bluetooth/Makefile.am
@@ -14,11 +14,11 @@ INCLUDES =                                      \
 
 plugin_LTLIBRARIES = libnstbluetooth.la
 
-bluetooth-marshal.h: bluetooth-marshal.list
+bluetooth-marshal.h: bluetooth-marshal.list Makefile
 	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=nst_bluetooth_marshal $< --header > $@
 
-bluetooth-marshal.c: bluetooth-marshal.list
-	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=nst_bluetooth_marshal $< --body > $@
+bluetooth-marshal.c: bluetooth-marshal.list Makefile
+	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=nst_bluetooth_marshal $< --header --body > $@
 bluetooth.c: bluetooth-marshal.c bluetooth-marshal.h
 
 libnstbluetooth_la_SOURCES = bluetooth.c bluetooth-marshal.h bluetooth-marshal.c
diff --git a/src/plugins/upnp/upnp.c b/src/plugins/upnp/upnp.c
index a16375c..3381428 100644
--- a/src/plugins/upnp/upnp.c
+++ b/src/plugins/upnp/upnp.c
@@ -138,7 +138,6 @@ device_proxy_available_cb (GUPnPControlPoint *cp,
 			   GUPnPDeviceProxy  *proxy)
 {
 	GUPnPServiceInfo *info;
-	const gchar *type;
 
 	info = gupnp_device_info_get_service (GUPNP_DEVICE_INFO (proxy), CDS);
 	if (G_UNLIKELY (info == NULL)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]