diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2017-12-18 08:36:51 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2017-12-18 13:29:32 +0100 |
commit | 6672c5e92ea593db2fa58e42992714aebf315831 (patch) | |
tree | 0e5fc518bec9eb56d376fb450c60d242abb09627 /src/nm-manager.c | |
parent | 0ae44fe7e28ea635f727ea524c31b590d26ebecc (diff) |
all: get rid of a handful of unused-but-set variables
Diffstat (limited to 'src/nm-manager.c')
-rw-r--r-- | src/nm-manager.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c index 4aa2cbfab..1bdd4e559 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -3249,8 +3249,6 @@ ensure_master_active_connection (NMManager *self, NM_MANAGER_ERROR_DEPENDENCY_FAILED, "Device unmanaged or not available for activation"); } else if (master_connection) { - gboolean found_device = FALSE; - /* Find a compatible device and activate it using this connection */ for (iter = priv->devices; iter; iter = g_slist_next (iter)) { NMDevice *candidate = NM_DEVICE (iter->data); @@ -3263,7 +3261,6 @@ ensure_master_active_connection (NMManager *self, if (!nm_device_check_connection_available (candidate, NM_CONNECTION (master_connection), NM_DEVICE_CHECK_CON_AVAILABLE_FOR_USER_REQUEST, NULL)) continue; - found_device = TRUE; if (!nm_device_is_software (candidate)) { master_state = nm_device_get_state (candidate); if (nm_device_is_real (candidate) && master_state != NM_DEVICE_STATE_DISCONNECTED) |