summaryrefslogtreecommitdiff
path: root/extra/geoclue/geoclue-gcc46.patch
blob: 11bf48547e1143cdd8c872549f35034f1cd10aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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