]> git.ozlabs.org Git - ccan/blobdiff - ccan/opt/test/run-helpers.c
opt: complete coverage, enhance opt_free_table.
[ccan] / ccan / opt / test / run-helpers.c
index e0fbd32e6bcf6f6a28c17e9818a169ff22997747..8cf229cc6acc230fd6e32bd794938f24c967d141 100644 (file)
@@ -27,13 +27,6 @@ static void *saved_malloc(size_t size);
 #include <ccan/opt/usage.c>
 #include <ccan/opt/parse.c>
 
-static void reset_options(void)
-{
-       free(opt_table);
-       opt_table = NULL;
-       opt_count = opt_num_short = opt_num_short_arg = opt_num_long = 0;
-}
-
 static char *output = NULL;
 
 static int saved_vprintf(const char *fmt, va_list ap)