diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-09-01 13:34:42 +0200 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-09-12 18:00:30 +0200 |
commit | 79e5a52d0553b07c0e8ca5a894c5d371a07a8964 (patch) | |
tree | d0d0cf1699c2b622ee69f382259bb0c401e1567d /server/tests/test_display_streaming.c | |
parent | 5ea7de3bccafa21963548abcb5b7061de4c59910 (diff) | |
download | spice-79e5a52d0553b07c0e8ca5a894c5d371a07a8964.tar.gz spice-79e5a52d0553b07c0e8ca5a894c5d371a07a8964.tar.xz spice-79e5a52d0553b07c0e8ca5a894c5d371a07a8964.zip |
Fix -Wunused-value
Diffstat (limited to 'server/tests/test_display_streaming.c')
-rw-r--r-- | server/tests/test_display_streaming.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/test_display_streaming.c b/server/tests/test_display_streaming.c index 01c7e7ab..45150510 100644 --- a/server/tests/test_display_streaming.c +++ b/server/tests/test_display_streaming.c @@ -107,7 +107,7 @@ static void create_clipped_frame(Test *test, Command *command, int clipping_fact cmd->bitmap = g_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; |