diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-10-30 13:50:11 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-10-30 13:50:11 -0400 |
commit | ff94c67ce80d6baf4677c4564796e163b8d6b5aa (patch) | |
tree | 8e3922884c583ae0c888d12d9b8e689d013291dd | |
parent | adddfb382dbb46943efd08b20634a716caf3456b (diff) | |
download | dimension-ff94c67ce80d6baf4677c4564796e163b8d6b5aa.tar.xz |
Initialize `i' in dmnsn_parse().
-rw-r--r-- | dimension/parse.c | 1 |
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); |