diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-06-26 02:51:55 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-06-26 02:51:55 +0200 |
commit | 6add64e2dc8e5e1a7ce744ac22e66371d2c8463e (patch) | |
tree | e49c8dedc6b62d7018d75ac29698868ae008c1c7 /src/argparser.c | |
parent | add makefile, why cannot c version be optimised?? (diff) | |
download | argparser-6add64e2dc8e5e1a7ce744ac22e66371d2c8463e.tar.gz argparser-6add64e2dc8e5e1a7ce744ac22e66371d2c8463e.tar.bz2 argparser-6add64e2dc8e5e1a7ce744ac22e66371d2c8463e.tar.xz |
missed to initialise variable
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/argparser.c')
-rw-r--r-- | src/argparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argparser.c b/src/argparser.c index bb1f3ce..4041869 100644 --- a/src/argparser.c +++ b/src/argparser.c @@ -181,7 +181,7 @@ extern void args_dispose() if (args_opts.keys != null) { void** freethis = map_free(&args_opts); - long i; + long i = 0; while (*(freethis + i)) free(*(freethis + i++)); free(freethis); |