trivial: fix build by returning FALSE in gboolean nm_device_set_is_nm_owned()
g_return_val_if_fail (NM_IS_DEVICE (device), FALSE);
This commit is contained in:
@@ -4237,7 +4237,7 @@ nm_device_set_is_nm_owned (NMDevice *device,
|
||||
{
|
||||
NMDevicePrivate *priv;
|
||||
|
||||
g_return_if_fail (NM_IS_DEVICE (device));
|
||||
g_return_val_if_fail (NM_IS_DEVICE (device), FALSE);
|
||||
|
||||
priv = NM_DEVICE_GET_PRIVATE (device);
|
||||
|
||||
@@ -4249,7 +4249,6 @@ nm_device_set_is_nm_owned (NMDevice *device,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* nm_device_deactivate
|
||||
*
|
||||
|
Reference in New Issue
Block a user