summaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-02-08 13:54:58 +0100
committerThomas Haller <thaller@redhat.com>2019-02-08 20:14:50 +0100
commit3458c02acb07caddfd501684f0a4a140df1c8c08 (patch)
tree967ad3859cc42a7465ec7fa3194761adbe8ff0fc /src/platform
parent395174f6597685eed10768ed0866015f72d2b7a1 (diff)
downloadNetworkManager-3458c02acb07caddfd501684f0a4a140df1c8c08.tar.gz
platform/tests: avoid "-Wmissing-braces" warning in "test-route.c"
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/tests/test-route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/tests/test-route.c b/src/platform/tests/test-route.c
index 4c0f686f4e..2619ec52c2 100644
--- a/src/platform/tests/test-route.c
+++ b/src/platform/tests/test-route.c
@@ -767,7 +767,7 @@ test_ip (gconstpointer test_data)
const int EX_ = -1;
struct {
int ifindex;
- } iface_data[10] = { 0 };
+ } iface_data[10] = { { 0 }, };
int order_idx[G_N_ELEMENTS (iface_data)] = { 0 };
guint order_len;
guint try;