summaryrefslogtreecommitdiff
path: root/src/NextEvent.c
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2013-06-25 23:02:46 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 23:20:13 -0700
commit3919044bd7d3bcb85ce3425a43b8889a248a7542 (patch)
tree7c988eee011ec632c9ebbf4fc7ae61033c42cce6 /src/NextEvent.c
parentd395f487e659ee1091eb60c89c551ba1b61dfe51 (diff)
Avoid shadowing variables.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/NextEvent.c')
-rw-r--r--src/NextEvent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/NextEvent.c b/src/NextEvent.c
index 4f2dcfb..c6fbcf1 100644
--- a/src/NextEvent.c
+++ b/src/NextEvent.c
@@ -272,7 +272,6 @@ 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++;