summaryrefslogtreecommitdiff
path: root/src/nm-connectivity.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2013-08-28 17:40:35 +0200
committerThomas Haller <thaller@redhat.com>2013-08-28 17:41:28 +0200
commit5b449631de2dfbb6736757eb6af8ee4733a12fdb (patch)
tree8249330adc0480bdf02622b359b9bbff9e85c9ce /src/nm-connectivity.c
parentf6684238321016350599ae8545b1216778988d43 (diff)
downloadNetworkManager-5b449631de2dfbb6736757eb6af8ee4733a12fdb.tar.gz
core: fix warning about unused variable
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/nm-connectivity.c')
-rw-r--r--src/nm-connectivity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-connectivity.c b/src/nm-connectivity.c
index 16d8e26688..f14c011a7c 100644
--- a/src/nm-connectivity.c
+++ b/src/nm-connectivity.c
@@ -337,9 +337,9 @@ get_property (GObject *object, guint property_id,
static void
nm_connectivity_init (NMConnectivity *self)
{
+#if WITH_CONCHECK
NMConnectivityPrivate *priv = NM_CONNECTIVITY_GET_PRIVATE (self);
-#if WITH_CONCHECK
priv->soup_session = soup_session_async_new_with_options (SOUP_SESSION_TIMEOUT, 15, NULL);
#endif
}