mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-15 06:59:49 -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
|
|
@ -678,7 +678,6 @@ int
|
|||
main(int argc, char *argv[])
|
||||
{
|
||||
struct display *d;
|
||||
struct dnd *dnd;
|
||||
|
||||
d = display_create(&argc, &argv, option_entries);
|
||||
if (d == NULL) {
|
||||
|
|
@ -688,7 +687,7 @@ main(int argc, char *argv[])
|
|||
|
||||
display_set_global_handler(d, global_handler);
|
||||
|
||||
dnd = dnd_create (d);
|
||||
dnd_create(d);
|
||||
|
||||
display_run(d);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue