summaryrefslogtreecommitdiffstats
path: root/server/tests/test_display_resolution_changes.c
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2014-09-01 13:24:55 +0200
committerFabiano FidĂȘncio <fidencio@redhat.com>2014-09-12 18:00:30 +0200
commit5ea7de3bccafa21963548abcb5b7061de4c59910 (patch)
treeca823bf9564db17af1b9716ac1276944ead258de /server/tests/test_display_resolution_changes.c
parent94edda22553ba351c869b58cd984a79cfc6c2180 (diff)
downloadspice-5ea7de3bccafa21963548abcb5b7061de4c59910.tar.gz
spice-5ea7de3bccafa21963548abcb5b7061de4c59910.tar.xz
spice-5ea7de3bccafa21963548abcb5b7061de4c59910.zip
Fix -Wunused-parameter
Diffstat (limited to 'server/tests/test_display_resolution_changes.c')
-rw-r--r--server/tests/test_display_resolution_changes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/test_display_resolution_changes.c b/server/tests/test_display_resolution_changes.c
index 4767ea9e..c4926530 100644
--- a/server/tests/test_display_resolution_changes.c
+++ b/server/tests/test_display_resolution_changes.c
@@ -22,7 +22,8 @@ void pinger(void *opaque)
test->core->timer_start(ping_timer, ping_ms);
}
-void set_primary_params(Test *test, Command *command)
+void set_primary_params(SPICE_GNUC_UNUSED Test *test,
+ Command *command)
{
#if 0
static int toggle = 0;