summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@collabora.co.uk>2018-04-25 15:51:53 +0200
committerZeeshan Ali <zeenix@collabora.co.uk>2018-05-03 17:52:48 +0200
commitd130fe6bf744be1e8032b31da41776ef23dd7ebb (patch)
treeeb018ff0c59a881d26397579a2ec1544f0348de4
parentb9c529866262e3187b38a7df7c66aeca70b0b04b (diff)
downloadgeoclue-d130fe6bf744be1e8032b31da41776ef23dd7ebb.tar.gz
locator: Fix a potentially unused variable declaration
-rw-r--r--src/gclue-locator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gclue-locator.c b/src/gclue-locator.c
index d9941b2..731c33a 100644
--- a/src/gclue-locator.c
+++ b/src/gclue-locator.c
@@ -332,7 +332,9 @@ gclue_locator_constructed (GObject *object)
{
GClueLocator *locator = GCLUE_LOCATOR (object);
GClueLocationSource *submit_source = NULL;
+#if GCLUE_USE_NMEA_SOURCE
GClueConfig *gconfig = gclue_config_get_singleton ();
+#endif
GList *node;
GClueMinUINT *threshold;