summaryrefslogtreecommitdiff
path: root/libnm/nm-secret-agent-old.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-12-18 08:36:51 +0100
committerLubomir Rintel <lkundrak@v3.sk>2017-12-18 13:29:32 +0100
commit6672c5e92ea593db2fa58e42992714aebf315831 (patch)
tree0e5fc518bec9eb56d376fb450c60d242abb09627 /libnm/nm-secret-agent-old.c
parent0ae44fe7e28ea635f727ea524c31b590d26ebecc (diff)
downloadNetworkManager-6672c5e92ea593db2fa58e42992714aebf315831.tar.gz
all: get rid of a handful of unused-but-set variables
Diffstat (limited to 'libnm/nm-secret-agent-old.c')
-rw-r--r--libnm/nm-secret-agent-old.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libnm/nm-secret-agent-old.c b/libnm/nm-secret-agent-old.c
index 76e4238d26..8018bef6c0 100644
--- a/libnm/nm-secret-agent-old.c
+++ b/libnm/nm-secret-agent-old.c
@@ -603,12 +603,10 @@ reg_request_cb (GObject *proxy,
{
GSimpleAsyncResult *simple = user_data;
NMSecretAgentOld *self;
- NMSecretAgentOldPrivate *priv;
GError *error = NULL;
self = NM_SECRET_AGENT_OLD (g_async_result_get_source_object (G_ASYNC_RESULT (simple)));
g_object_unref (self); /* drop extra ref added by get_source_object() */
- priv = NM_SECRET_AGENT_OLD_GET_PRIVATE (self);
if (!nmdbus_agent_manager_call_register_finish (NMDBUS_AGENT_MANAGER (proxy), result, &error))
g_dbus_error_strip_remote_error (error);