summaryrefslogtreecommitdiff
path: root/src/NextEvent.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-10 08:18:26 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-10 08:18:26 -0700
commit8828fc21cb5b10f06294e460d15c38e234324960 (patch)
treefabb47fcc336332217c1da3a38e9b08613e28d8e /src/NextEvent.c
parent9dc5fb0b9640b79a234b58e640e05d8276556beb (diff)
Revert "Avoid shadowing variables."
This reverts commit 3919044bd7d3bcb85ce3425a43b8889a248a7542. Breaks programs such as xcalc & xlogo on multiple platforms.
Diffstat (limited to 'src/NextEvent.c')
-rw-r--r--src/NextEvent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/NextEvent.c b/src/NextEvent.c
index c6fbcf1..4f2dcfb 100644
--- a/src/NextEvent.c
+++ b/src/NextEvent.c
@@ -272,6 +272,7 @@ static void InitFds (
wf->fdlistlen = wf->num_dpys = 0;
if (!ignoreInputs && app->input_list != NULL) {
+ int ii;
for (ii = 0; ii < (int) app->input_max; ii++)
if (app->input_list[ii] != NULL)
wf->fdlistlen++;