mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 20:40:18 +01:00
device: use NULL instead of 0 in g_return_val_if_fail() for pointer
(cherry picked from commit 46f29a4abc)
This commit is contained in:
parent
61b4bec803
commit
65a585beba
1 changed files with 1 additions and 1 deletions
|
|
@ -540,7 +540,7 @@ nm_device_get_udi (NMDevice *self)
|
|||
const char *
|
||||
nm_device_get_iface (NMDevice *self)
|
||||
{
|
||||
g_return_val_if_fail (NM_IS_DEVICE (self), 0);
|
||||
g_return_val_if_fail (NM_IS_DEVICE (self), NULL);
|
||||
|
||||
return NM_DEVICE_GET_PRIVATE (self)->iface;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue