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 | |
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>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/argparser.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -C_OPTIMISE = -O0 +C_OPTIMISE = -O6 JAVA_OPTIMISE = -O all: 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); |