coverity spotted some variables that were declared but not used in server/tests --- server/tests/test_display_base.c | 1 - server/tests/test_playback.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c index ccdd2f2..03798ac 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 ed1b766..cc7b120 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) { -- 1.8.4.2 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel