X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ccan%2Fopt%2Ftest%2Frun-iter.c;h=e6b13dadea8d33b38d02e55ca99c20e0d956d1d8;hb=f725bbb1987284933e0f21dfb8f2ce7a1f0806e5;hp=66fd5db8b0ac8533842a9d03f1a68fd1e99ffe6b;hpb=39dc9e4612339af669e934c47500605f826a2bb4;p=ccan diff --git a/ccan/opt/test/run-iter.c b/ccan/opt/test/run-iter.c index 66fd5db8..e6b13dad 100644 --- a/ccan/opt/test/run-iter.c +++ b/ccan/opt/test/run-iter.c @@ -9,13 +9,6 @@ #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; -} - /* Test iterators. */ int main(int argc, char *argv[]) {