act-request: use NULL return value instead of "0"

This commit is contained in:
Thomas Haller 2016-12-16 12:50:05 +01:00
parent a7945ef765
commit 3b95cf68e2

View file

@ -180,7 +180,7 @@ nm_act_request_get_secrets (NMActRequest *self,
NMConnection *applied_connection;
const char *hints[2] = { hint, NULL };
g_return_val_if_fail (NM_IS_ACT_REQUEST (self), 0);
g_return_val_if_fail (NM_IS_ACT_REQUEST (self), NULL);
priv = NM_ACT_REQUEST_GET_PRIVATE (self);