summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/parsecsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parsecsv.c b/test/parsecsv.c
index c14d65087..82f3deebe 100644
--- a/test/parsecsv.c
+++ b/test/parsecsv.c
@@ -217,7 +217,7 @@ static void hb_trim_end( char *text )
return;
}
- int i = strlen(text) - 1;
+ int i;
for( i = strlen(text) - 1; i >= 0 && is_white(text[i]) ; i-- )
{