mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 18:50:18 +01:00
core: fix setting output argument in nm_utils_stable_id_parse()
This bug has no consequences, as the only caller already initialized
the output variable to NULL.
Fixes: f0d40525df
This commit is contained in:
parent
81b2d77795
commit
b2d21817ad
1 changed files with 1 additions and 1 deletions
|
|
@ -3474,7 +3474,7 @@ nm_utils_stable_id_parse (const char *stable_id,
|
|||
g_return_val_if_fail (out_generated, NM_UTILS_STABLE_TYPE_RANDOM);
|
||||
|
||||
if (!stable_id) {
|
||||
out_generated = NULL;
|
||||
*out_generated = NULL;
|
||||
return NM_UTILS_STABLE_TYPE_UUID;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue