diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-09-01 13:24:55 +0200 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-09-12 18:00:30 +0200 |
commit | 5ea7de3bccafa21963548abcb5b7061de4c59910 (patch) | |
tree | ca823bf9564db17af1b9716ac1276944ead258de /server/tests/test_display_width_stride.c | |
parent | 94edda22553ba351c869b58cd984a79cfc6c2180 (diff) | |
download | spice-5ea7de3bccafa21963548abcb5b7061de4c59910.tar.gz spice-5ea7de3bccafa21963548abcb5b7061de4c59910.tar.xz spice-5ea7de3bccafa21963548abcb5b7061de4c59910.zip |
Fix -Wunused-parameter
Diffstat (limited to 'server/tests/test_display_width_stride.c')
-rw-r--r-- | server/tests/test_display_width_stride.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/server/tests/test_display_width_stride.c b/server/tests/test_display_width_stride.c index f9383738..a071e741 100644 --- a/server/tests/test_display_width_stride.c +++ b/server/tests/test_display_width_stride.c @@ -25,7 +25,8 @@ void pinger(void *opaque) static int g_surface_id = 1; static uint8_t *g_surface_data; -void set_draw_parameters(Test *test, Command *command) +void set_draw_parameters(SPICE_GNUC_UNUSED Test *test, + Command *command) { static int count = 17; CommandDrawSolid *solid = &command->solid; @@ -38,7 +39,8 @@ void set_draw_parameters(Test *test, Command *command) count++; } -void set_surface_params(Test *test, Command *command) +void set_surface_params(SPICE_GNUC_UNUSED Test *test, + Command *command) { CommandCreateSurface *create = &command->create_surface; @@ -54,7 +56,8 @@ void set_surface_params(Test *test, Command *command) create->data = g_surface_data; } -void set_destroy_parameters(Test *test, Command *command) +void set_destroy_parameters(SPICE_GNUC_UNUSED Test *test, + SPICE_GNUC_UNUSED Command *command) { if (g_surface_data) { free(g_surface_data); |