summaryrefslogtreecommitdiff
path: root/clients/view.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-01-25 15:16:01 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-01-25 15:16:01 -0500
commit00439617f395742432f08d5fe1563c2fc2b1439a (patch)
tree60e92a8f322462b1ace0743a36a359c56a544fb9 /clients/view.c
parent8335568d070bfbde0f72e8129842222e8260bf07 (diff)
Fix new gcc 4.6 warnings
simple-client.c:156:10: warning: variable ‘ar’ set but not used [-Wunused-but-set-variable] etc.
Diffstat (limited to 'clients/view.c')
-rw-r--r--clients/view.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/clients/view.c b/clients/view.c
index 9512dc4..88c59ad 100644
--- a/clients/view.c
+++ b/clients/view.c
@@ -209,11 +209,8 @@ main(int argc, char *argv[])
return -1;
}
- for (i = 1; i < argc; i++) {
- struct view *view;
-
- view = view_create (d, i, argv[i]);
- }
+ for (i = 1; i < argc; i++)
+ view_create (d, i, argv[i]);
display_run(d);