Warning fixes

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2910 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-09-28 03:50:02 +00:00
parent 592f4cc94d
commit a61ffae29a
2 changed files with 1 additions and 3 deletions

View file

@ -102,7 +102,6 @@ save_vpn_password (const char *vpn_name,
const char *secret)
{
char *display_name;
guint32 item_id;
GnomeKeyringResult ret;
GnomeKeyringAttributeList *attrs = NULL;
guint32 id = 0;

View file

@ -178,7 +178,7 @@ impl_fill_connection (NetworkManagerVpnUI *self, NMConnection *connection)
g_return_if_fail (NM_IS_CONNECTION (connection));
s_con = (NMSettingConnection *) nm_connection_get_setting (connection, NM_SETTING_CONNECTION);
g_assert (s_vpn);
g_assert (s_con);
s_vpn = (NMSettingVPN *) nm_connection_get_setting (connection, NM_SETTING_VPN);
g_assert (s_vpn);
@ -698,7 +698,6 @@ import_button_clicked (GtkButton *button, gpointer user_data)
char *filename = NULL;
GtkWidget *dialog;
NetworkManagerVpnUI *self = (NetworkManagerVpnUI *) user_data;
NetworkManagerVpnUIImpl *impl = (NetworkManagerVpnUIImpl *) self->data;
dialog = gtk_file_chooser_dialog_new (_("Select file to import"),
NULL,