summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick <phaller@lap4.haller.ws>2015-10-13 01:26:51 +0800
committerPatrick <phaller@lap4.haller.ws>2015-10-13 01:26:51 +0800
commit5ed15bde7bc262fac96cb50a676495fedb691d04 (patch)
treeefba75cfa4a26c79be092fdcfadcf71c59d9c44e
parentfdcc6f2539e5aa8f61991bdfe99dd12f97165e3d (diff)
int cleanup
-rw-r--r--x-alt-tab.c3
1 files changed, 1 insertions, 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++) {