diff options
author | Thomas Haller <thaller@redhat.com> | 2020-04-09 09:32:08 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-04-09 09:32:39 +0200 |
commit | 36ab1e841f170ca2ed5dd8cb658de986627e1852 (patch) | |
tree | 172a7d3e58893f18af10b461255ccad4747ce2b1 | |
parent | 95888e8861339b6e316b916e9a6bb148585440b9 (diff) | |
download | NetworkManager-36ab1e841f170ca2ed5dd8cb658de986627e1852.tar.gz |
device/bridge: fix uninitialized variable in commit_option()
Fixes: 93e38cbe56f4 ('nm-setting-bridge: add 'group-address' bridge option')
-rw-r--r-- | src/devices/nm-device-bridge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device-bridge.c b/src/devices/nm-device-bridge.c index 6eb9850e45..e05d4d7a10 100644 --- a/src/devices/nm-device-bridge.c +++ b/src/devices/nm-device-bridge.c @@ -380,6 +380,7 @@ commit_option (NMDevice *device, NMSetting *setting, const Option *option, gbool break; default: nm_assert_not_reached (); + value = NULL; break; } |