X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/dbc1de70e1824cf1a649d892db5746b86b34b4e7..52ef24e4020adcb773adcb0d82b1c2c385610461:/avr/env.c?ds=sidebyside diff --git a/avr/env.c b/avr/env.c index add281c..3bb04c2 100644 --- a/avr/env.c +++ b/avr/env.c @@ -693,9 +693,6 @@ command_ret_t do_env_print(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, bool mode = 0; command_ret_t rc = CMD_RET_SUCCESS; - /* reset getopt() */ - optind = 0; - int opt; while ((opt = getopt(argc, argv, PSTR("s"))) != -1) { switch (opt) {