From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fidencio@redhat.com>
Date: Mon, 1 Sep 2014 13:34:42 +0200
Subject: [PATCH] Fix -Wunused-value
(cherry picked from commit 79e5a52d0553b07c0e8ca5a894c5d371a07a8964)
---
server/tests/test_display_streaming.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/tests/test_display_streaming.c b/server/tests/test_display_streaming.c
index b66d870..b8bdf52 100644
--- a/server/tests/test_display_streaming.c
+++ b/server/tests/test_display_streaming.c
@@ -103,7 +103,7 @@ static void create_clipped_frame(Test *test, Command *command, int clipping_fact
cmd->bitmap = malloc(width*height*4);
memset(cmd->bitmap, 0xff, width*height*4);
dst = (uint32_t *)(cmd->bitmap + cur_line*width*4);
- for (cur_line; cur_line < end_line; cur_line++) {
+ for (; cur_line < end_line; cur_line++) {
int col;
for (col = 0; col < width; col++, dst++) {
*dst = 0x00FF00;