remove shadow warning.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 17 Jun 2012 17:38:03 +0000 (17:38 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 17 Jun 2012 17:38:03 +0000 (17:38 +0000)
"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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@72307 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/termpty.c

index 8ff770f..289b4be 100644 (file)
@@ -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)
                               {