From 5ed15bde7bc262fac96cb50a676495fedb691d04 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 13 Oct 2015 01:26:51 +0800 Subject: int cleanup --- x-alt-tab.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x-alt-tab.c b/x-alt-tab.c index 3a34134..1073678 100644 --- a/x-alt-tab.c +++ b/x-alt-tab.c @@ -14,8 +14,7 @@ If not, see http://creativecommons.org/publicdomain/zero/1.0/ */ void alt_tab(int argc, Display *dpy, Window *wins, unsigned int nwins) { XWindowAttributes attr; Window *viewables[nwins], *w = 0; - unsigned int count = 0; - int vc = 0; + unsigned int count, vc = 0; // make list of viewable windows for (count = 0; count < nwins; count++) { -- cgit v1.2.3