diff options
author | Thomas Haller <thaller@redhat.com> | 2019-02-08 12:24:07 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-02-08 20:14:50 +0100 |
commit | 395174f6597685eed10768ed0866015f72d2b7a1 (patch) | |
tree | f807b21822859642235edd226fcfcdc1a9390f2c /src/platform/tests | |
parent | 814bcf5575c06219480139ec3237ec62f781533f (diff) | |
download | NetworkManager-395174f6597685eed10768ed0866015f72d2b7a1.tar.gz |
shared: avoid "-Wmissing-braces" warning initalizing NMIPAddr
NMIPAddr contains an unnamed union. We have to either explicitly
initialize one field, or omit it.
../shared/nm-utils/nm-shared-utils.c:38:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
const NMIPAddr nm_ip_addr_zero = { 0 };
^
{}
Diffstat (limited to 'src/platform/tests')
0 files changed, 0 insertions, 0 deletions