diff --git a/src/nm-device-802-11-wireless.c b/src/nm-device-802-11-wireless.c index c7991e3408..378a95965b 100644 --- a/src/nm-device-802-11-wireless.c +++ b/src/nm-device-802-11-wireless.c @@ -976,7 +976,6 @@ nm_device_802_11_wireless_get_mode (NMDevice80211Wireless *self) nm_dev_sock_close (sk); } -out: return mode; } @@ -1637,7 +1636,6 @@ static void merge_scanned_ap (NMDevice80211Wireless *self, NMAccessPoint *merge_ap) { - GSList * elt; NMAccessPoint * found_ap = NULL; const GByteArray *ssid; @@ -2727,7 +2725,6 @@ activation_success_handler (NMDevice *dev) tmp_ap = get_active_ap (self, ap); if (tmp_ap) { NMActRequest *req = nm_device_get_act_request (NM_DEVICE (self)); - GSList *elt; /* Found a better match in the scan list than the fake AP. Use it * instead. diff --git a/src/supplicant-manager/nm-supplicant-interface.c b/src/supplicant-manager/nm-supplicant-interface.c index 22bf80d633..eab9f6ccd5 100644 --- a/src/supplicant-manager/nm-supplicant-interface.c +++ b/src/supplicant-manager/nm-supplicant-interface.c @@ -1130,7 +1130,6 @@ add_network_cb (DBusGProxy *proxy, DBusGProxyCall *call_id, gpointer user_data) g_error_free (err); } else { NMSupplicantInterfacePrivate *priv = NM_SUPPLICANT_INTERFACE_GET_PRIVATE (info->interface); - DBusGProxyCall *call; GHashTable *blobs; priv->net_proxy = dbus_g_proxy_new_for_name (nm_dbus_manager_get_connection (priv->dbus_mgr),