mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 06:20:28 +01:00
devices: fix compilation of nm_device_factory_new_link()
We have to return a value.
This commit is contained in:
parent
c1a064b9a3
commit
9e0f4179fd
1 changed files with 2 additions and 2 deletions
|
|
@ -104,8 +104,8 @@ nm_device_factory_new_link (NMDeviceFactory *factory,
|
|||
NMPlatformLink *plink,
|
||||
GError **error)
|
||||
{
|
||||
g_return_if_fail (factory != NULL);
|
||||
g_return_if_fail (plink != NULL);
|
||||
g_return_val_if_fail (factory != NULL, NULL);
|
||||
g_return_val_if_fail (plink != NULL, NULL);
|
||||
|
||||
if (NM_DEVICE_FACTORY_GET_INTERFACE (factory)->new_link)
|
||||
return NM_DEVICE_FACTORY_GET_INTERFACE (factory)->new_link (factory, plink, error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue