summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-04-09 09:32:08 +0200
committerThomas Haller <thaller@redhat.com>2020-04-09 09:32:39 +0200
commit36ab1e841f170ca2ed5dd8cb658de986627e1852 (patch)
tree172a7d3e58893f18af10b461255ccad4747ce2b1
parent95888e8861339b6e316b916e9a6bb148585440b9 (diff)
downloadNetworkManager-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.c1
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;
}