X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fopt%2Ftest%2Frun.c;h=0bf043c1912a05695402ee1e3ceafb4fcf496510;hp=9a769bad12d1a5dca1d74a1db2db1c2e16fd57b3;hb=4ea280eb94ec5f2eef352066a94a160d9b8dd059;hpb=6fa62e5ae1e29646aa718e99020fdf2efee74373 diff --git a/ccan/opt/test/run.c b/ccan/opt/test/run.c index 9a769bad..0bf043c1 100644 --- a/ccan/opt/test/run.c +++ b/ccan/opt/test/run.c @@ -6,15 +6,6 @@ #include #include "utils.h" -static void reset_options(void) -{ - free(opt_table); - opt_table = NULL; - opt_count = opt_num_short = opt_num_short_arg = opt_num_long = 0; - free(err_output); - err_output = NULL; -} - int main(int argc, char *argv[]) { const char *myname = argv[0];