geoclue/libgeoclue-0.12.0-gcc-4.7.patch

24 lines
690 B
Diff

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.9.0.2-2-gbebe