Commit d830841d authored by Lubomir Rintel's avatar Lubomir Rintel 🥕

manager: return values for a non-void function

Fixes: d8e1590c
parent d8e1590c
......@@ -1012,8 +1012,8 @@ system_create_virtual_device (NMManager *self, NMConnection *connection)
NMDevice *device = NULL, *parent = NULL;
GError *error = NULL;
g_return_if_fail (NM_IS_MANAGER (self));
g_return_if_fail (NM_IS_CONNECTION (connection));
g_return_val_if_fail (NM_IS_MANAGER (self), NULL);
g_return_val_if_fail (NM_IS_CONNECTION (connection), NULL);
iface = get_virtual_iface_name (self, connection, &parent, &error);
if (!iface) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment