[network-manager-netbook/MplPanelClient: 43/44] Fix a bunch of build warnings.
- From: Tambet Ingo <tambeti src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [network-manager-netbook/MplPanelClient: 43/44] Fix a bunch of build warnings.
- Date: Tue, 10 Nov 2009 14:13:19 +0000 (UTC)
commit ba8649833cdc52b2c74dc436c2224427bdee6265
Author: Tambet Ingo <tambet gmail com>
Date: Tue Nov 10 16:00:33 2009 +0200
Fix a bunch of build warnings.
src/nmn-ethernet-item.c | 1 -
src/nmn-wifi-item.c | 1 -
src/wireless-security/eap-method-tls.c | 10 ----------
src/wireless-security/ws-wep-key.c | 1 -
4 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/nmn-ethernet-item.c b/src/nmn-ethernet-item.c
index 0e377d8..5f8c110 100644
--- a/src/nmn-ethernet-item.c
+++ b/src/nmn-ethernet-item.c
@@ -90,7 +90,6 @@ update_autoconnect (NmnNetworkItem *item, gboolean connect_automatically)
{
NMSettingsConnectionInterface *connection;
NMSettingConnection *s_con;
- GError *error = NULL;
connection = nmn_network_item_get_connection (item);
s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (NM_CONNECTION (connection), NM_TYPE_SETTING_CONNECTION));
diff --git a/src/nmn-wifi-item.c b/src/nmn-wifi-item.c
index 1c0009d..dc452f1 100644
--- a/src/nmn-wifi-item.c
+++ b/src/nmn-wifi-item.c
@@ -451,7 +451,6 @@ update_autoconnect (NmnNetworkItem *item, gboolean connect_automatically)
{
NMSettingsConnectionInterface *connection;
NMSettingConnection *s_con;
- GHashTable *new_settings;
connection = nmn_network_item_get_connection (item);
s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (NM_CONNECTION (connection), NM_TYPE_SETTING_CONNECTION));
diff --git a/src/wireless-security/eap-method-tls.c b/src/wireless-security/eap-method-tls.c
index 707d43e..37bb93f 100644
--- a/src/wireless-security/eap-method-tls.c
+++ b/src/wireless-security/eap-method-tls.c
@@ -118,16 +118,6 @@ add_to_size_group (EAPMethod *parent, GtkSizeGroup *group)
}
static void
-free_password (gpointer data)
-{
- g_return_if_fail (data != NULL);
-
- /* Try not to leave passwords around in memory */
- memset (data, 0, strlen (data));
- g_free (data);
-}
-
-static void
fill_connection (EAPMethod *parent, NMConnection *connection)
{
EAPMethodTLS *method = (EAPMethodTLS *) parent;
diff --git a/src/wireless-security/ws-wep-key.c b/src/wireless-security/ws-wep-key.c
index 512f55f..21fac42 100644
--- a/src/wireless-security/ws-wep-key.c
+++ b/src/wireless-security/ws-wep-key.c
@@ -143,7 +143,6 @@ fill_connection (WirelessSecurity *parent, NMConnection *connection)
GtkWidget *widget;
gint auth_alg;
const char *key;
- char *hashed = NULL;
int i;
widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, "wep_key_auth_method_combo"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]