diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2019-04-30 16:12:31 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2019-04-30 16:12:31 +0800 |
commit | 9e5065eaf08ea4b1a11b3429ba92bd8d9f0a10bd (patch) | |
tree | 6ed4890b63a5abc1c3773fa4004f3f429f4a176a | |
parent | c2d8dab8250d3cc6969fcabfd9f606ffe9c63823 (diff) | |
download | gobject-introspection-no-designated-init.tar.gz |
tests/scanner/regress.c: Avoid designated initializersno-designated-init
As the rest of the G-I code is not using C99 syntax, let's ensure that
the tests do not inadvertedly do so.
-rw-r--r-- | tests/scanner/regress.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c index eca7cdd4..853334f1 100644 --- a/tests/scanner/regress.c +++ b/tests/scanner/regress.c @@ -4520,9 +4520,9 @@ void regress_test_array_struct_out_none (RegressTestStructA **arr, gsize *len) { static RegressTestStructA array[3] = { - {.some_int = 111}, - {.some_int = 222}, - {.some_int = 333}, + {111,}, /* {.some_int = 111} */ + {222,}, /* {.some_int = 222} */ + {333,}, /* {.some_int = 333} */ }; *arr = array; |