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