mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-10 07:26:10 +00:00
Fix -Wunused-value
This commit is contained in:
parent
5ea7de3bcc
commit
79e5a52d05
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user