X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fopt%2Ftest%2Futils.c;h=7378d844de74f4be986ca9ce43ea2f5fe91717b4;hp=21e0b727ebd6cab4762526dc5a21a11a3eb5f072;hb=f51a60f73a22533ec38c12fc63f2837e355a0f88;hpb=ac9d55d8c5af9697be8c4dd4f27de61e3cb8bf95 diff --git a/ccan/opt/test/utils.c b/ccan/opt/test/utils.c index 21e0b727..7378d844 100644 --- a/ccan/opt/test/utils.c +++ b/ccan/opt/test/utils.c @@ -3,7 +3,6 @@ #include #include #include -#include #include #include #include "utils.h" @@ -77,8 +76,6 @@ bool parse_args(int *argc, char ***argv, ...) *argv = a; allocated = true; - /* Re-set before parsing. */ - optind = 0; return opt_parse(argc, *argv, save_err_output); }