X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fopt%2Ftest%2Frun-helpers.c;h=8cf229cc6acc230fd6e32bd794938f24c967d141;hb=ac9d55d8c5af9697be8c4dd4f27de61e3cb8bf95;hp=e0fbd32e6bcf6f6a28c17e9818a169ff22997747;hpb=abde990702b6d6c3739edf85578af8529608ade5;p=ccan diff --git a/ccan/opt/test/run-helpers.c b/ccan/opt/test/run-helpers.c index e0fbd32e..8cf229cc 100644 --- a/ccan/opt/test/run-helpers.c +++ b/ccan/opt/test/run-helpers.c @@ -27,13 +27,6 @@ static void *saved_malloc(size_t size); #include #include -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)