mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-14 06:59:46 -05:00
Fix new gcc 4.6 warnings
simple-client.c:156:10: warning: variable ‘ar’ set but not used [-Wunused-but-set-variable] etc.
This commit is contained in:
parent
8335568d07
commit
00439617f3
7 changed files with 9 additions and 24 deletions
|
|
@ -250,11 +250,8 @@ main(int argc, char *argv[])
|
|||
return -1;
|
||||
}
|
||||
|
||||
for (i = 1; i < argc; i++) {
|
||||
struct image *image;
|
||||
|
||||
image = image_create (d, i, argv[i]);
|
||||
}
|
||||
for (i = 1; i < argc; i++)
|
||||
image_create (d, i, argv[i]);
|
||||
|
||||
display_run(d);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue