summaryrefslogtreecommitdiffstats
path: root/abs/extra/geoclue/geoclue-gcc46.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/geoclue/geoclue-gcc46.patch')
-rw-r--r--abs/extra/geoclue/geoclue-gcc46.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/extra/geoclue/geoclue-gcc46.patch b/abs/extra/geoclue/geoclue-gcc46.patch
new file mode 100644
index 0000000..11bf485
--- /dev/null
+++ b/abs/extra/geoclue/geoclue-gcc46.patch
@@ -0,0 +1,23 @@
+From 90669619d1d621080ef00dcb8db1c3d206ee0bfe Mon Sep 17 00:00:00 2001
+From: Dan Williams <dcbw@redhat.com>
+Date: Mon, 07 Mar 2011 23:46:15 +0000
+Subject: master: Fix warning with GCC 4.6
+
+---
+diff --git a/src/master-provider.c b/src/master-provider.c
+index 790c043..e4ea053 100644
+--- a/src/master-provider.c
++++ b/src/master-provider.c
+@@ -846,10 +846,6 @@ gc_master_provider_initialize_interfaces (GcMasterProvider *provider)
+ static gboolean
+ gc_master_provider_initialize (GcMasterProvider *provider)
+ {
+- GcMasterProviderPrivate *priv;
+-
+- priv = GET_PRIVATE (provider);
+-
+ if (!gc_master_provider_initialize_interfaces (provider)) {
+ return FALSE;
+ }
+--
+cgit v0.8.3-6-g21f6