getopt: avoid compiler warning