mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 00:10:07 +01:00
src/NetworkManagerUtils.c:347:18: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
NMIPAddr a1 = { 0 }, a2 = { 0 };
^
{}
Should we initialize unions this way? I think it's all right -- the initializer
works well and { { { 0 } } } is probably not what we'd like to see.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| attributes.m4 | ||
| ax_lib_readline.m4 | ||
| compiler_options.m4 | ||
| git-sha-record.m4 | ||
| gnome-code-coverage.m4 | ||
| introspection.m4 | ||
| vapigen.m4 | ||