diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-01-02 18:06:08 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-01-02 18:06:08 +0100 |
commit | 3ac428b4b7f094ac091b2b8c39b47f90a74b9769 (patch) | |
tree | 59da42b8fb9bcfb6940d0be2267e8b1e2f11872a | |
parent | 530888ad900421ddbf43154fe0f9b916e7cde3c7 (diff) |
tests: Remove unused variables
coverity spotted some variables that were declared but not used in
server/tests
-rw-r--r-- | server/tests/test_display_base.c | 1 | ||||
-rw-r--r-- | server/tests/test_playback.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c index ccdd2f25..03798ac2 100644 --- a/server/tests/test_display_base.c +++ b/server/tests/test_display_base.c @@ -672,7 +672,6 @@ static void cursor_init() static int get_cursor_command(QXLInstance *qin, struct QXLCommandExt *ext) { Test *test = SPICE_CONTAINEROF(qin, Test, qxl_instance); - static int color = 0; static int set = 1; static int x = 0, y = 0; QXLCursorCmd *cursor_cmd; diff --git a/server/tests/test_playback.c b/server/tests/test_playback.c index ed1b7667..cc7b120f 100644 --- a/server/tests/test_playback.c +++ b/server/tests/test_playback.c @@ -53,8 +53,6 @@ void playback_timer_cb(void *opaque) int i; struct timeval cur; uint64_t cur_usec; - uint32_t *test_frame; - uint32_t test_num_samples; get_frame(); if (!frame) { |