summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-10-30 13:50:11 -0400
committerTavian Barnes <tavianator@gmail.com>2009-10-30 13:50:11 -0400
commitff94c67ce80d6baf4677c4564796e163b8d6b5aa (patch)
tree8e3922884c583ae0c888d12d9b8e689d013291dd
parentadddfb382dbb46943efd08b20634a716caf3456b (diff)
downloaddimension-ff94c67ce80d6baf4677c4564796e163b8d6b5aa.tar.xz
Initialize `i' in dmnsn_parse().
-rw-r--r--dimension/parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dimension/parse.c b/dimension/parse.c
index 55ad78e..b8085d8 100644
--- a/dimension/parse.c
+++ b/dimension/parse.c
@@ -205,6 +205,7 @@ dmnsn_parse(const dmnsn_array *tokens)
setlocale(LC_CTYPE, "C");
setlocale(LC_NUMERIC, "C");
+ i = 0;
while (i < dmnsn_array_size(tokens)) {
dmnsn_array_get(tokens, i, &token);