libnm-util: remove unused variable

This commit is contained in:
Dan Williams 2009-12-23 11:07:50 -08:00
parent a0984585af
commit e2b9e401ca

View file

@ -1036,15 +1036,12 @@ NMConnection *
nm_connection_new_from_hash (GHashTable *hash, GError **error)
{
NMConnection *connection;
NMConnectionPrivate *priv;
g_return_val_if_fail (hash != NULL, NULL);
connection = nm_connection_new ();
g_hash_table_foreach (hash, parse_one_setting, connection);
priv = NM_CONNECTION_GET_PRIVATE (connection);
if (!nm_connection_verify (connection, error)) {
g_object_unref (connection);
return NULL;