summaryrefslogtreecommitdiff
path: root/clients/gears.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/gears.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/gears.c')
-rw-r--r--clients/gears.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clients/gears.c b/clients/gears.c
index 25e1fcb..5ae2a95 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -421,14 +421,13 @@ gears_create(struct display *display)
int main(int argc, char *argv[])
{
struct display *d;
- struct gears *gears;
d = display_create(&argc, &argv, NULL);
if (d == NULL) {
fprintf(stderr, "failed to create display: %m\n");
return -1;
}
- gears = gears_create(d);
+ gears_create(d);
display_run(d);
return 0;