summaryrefslogtreecommitdiffstats
path: root/server/tests/test_display_resolution_changes.c
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2014-09-01 14:19:52 +0200
committerFabiano FidĂȘncio <fidencio@redhat.com>2014-09-12 18:00:30 +0200
commitb76e561d82796bd2bccc57be962fc5fba0141da6 (patch)
treeaaf3a54fbdae530ce57bc827c8f145277994b6aa /server/tests/test_display_resolution_changes.c
parentfb938c210ac507acb747c4c5126db7e6b12889fa (diff)
downloadspice-b76e561d82796bd2bccc57be962fc5fba0141da6.tar.gz
spice-b76e561d82796bd2bccc57be962fc5fba0141da6.tar.xz
spice-b76e561d82796bd2bccc57be962fc5fba0141da6.zip
Fix -Wmissing-field-initializers
Diffstat (limited to 'server/tests/test_display_resolution_changes.c')
-rw-r--r--server/tests/test_display_resolution_changes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/test_display_resolution_changes.c b/server/tests/test_display_resolution_changes.c
index c4926530..e351e992 100644
--- a/server/tests/test_display_resolution_changes.c
+++ b/server/tests/test_display_resolution_changes.c
@@ -45,8 +45,8 @@ void set_primary_params(SPICE_GNUC_UNUSED Test *test,
}
static Command commands[] = {
- {DESTROY_PRIMARY, NULL},
- {CREATE_PRIMARY, set_primary_params},
+ {DESTROY_PRIMARY, NULL, .cb_opaque = NULL,},
+ {CREATE_PRIMARY, set_primary_params, .cb_opaque = NULL},
};
int main(void)