[PATCH] remove inline iteration variable
Remove unnecessary iteration variable in inline.
David
Signed-off-by: David Rientjes <rientjes@google.com>
---
builtin-grep.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin-grep.c b/builtin-grep.c
index 93b7e07..6476fe1 100644
--- a/builtin-grep.c
+++ b/builtin-grep.c
@@ -176,8 +176,8 @@ static void compile_regexp(struct grep_p
#if DEBUG
static inline void indent(int in)
{
- int i;
- for (i = 0; i < in; i++) putchar(' ');
+ for (; in > 0; in--)
+ putchar(' ');
}
static void dump_pattern_exp(struct grep_expr *x, int in)
--
1.4.2.rc4.gf615-dirty