MSVC doesn't like an empty initializer for a flexible array.
Add a zero initializer to keep the compiler happy.
Fixes current build on Windows.
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
static const char *const addrs3[] = {
"00:00:00:00:00:01", "00:00:00:00:00:02", "00:00:00:00:00:03",
};
- static const char *const addrs4[] = {};
+ static const char *const addrs4[] = { 0 };
expr_addr_sets_add(addr_sets, "set1", addrs1, 3);
expr_addr_sets_add(addr_sets, "set2", addrs2, 3);