mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 04:24:32 +00:00
libnm-util: remove unused variable
This commit is contained in:
parent
a0984585af
commit
e2b9e401ca
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue