From 7f0c9cdc47418a0a8e734acd4180af1a5a49800e Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Sun, 17 Jun 2012 17:38:03 +0000 Subject: [PATCH] remove shadow warning. "i" is already defined at the beginning of the function and is (ab)used everywhere. I'd rather narrow the variable scope to where it's used, but would require a major refactor of the code. SVN revision: 72307 --- src/bin/termpty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/termpty.c b/src/bin/termpty.c index 8ff770f9..289b4be6 100644 --- a/src/bin/termpty.c +++ b/src/bin/termpty.c @@ -727,7 +727,7 @@ _handle_esc_csi(Termpty *ty, const int *c, int *ce) arg = _csi_arg_get(&b); if (b) { - int i, size; + int size; switch (arg) {