From d0309832126ee86eccda52450c036ce8d485e29b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 17 Jul 2022 16:47:24 +0200 Subject: [PATCH] pw-cat: don't print useless error getopt has already printed a much better error for us. See #2558 --- src/tools/pw-cat.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tools/pw-cat.c b/src/tools/pw-cat.c index 34a334af5..2c9d81e2f 100644 --- a/src/tools/pw-cat.c +++ b/src/tools/pw-cat.c @@ -1439,9 +1439,7 @@ int main(int argc, char *argv[]) case OPT_VOLUME: data.volume = atof(optarg); break; - default: - fprintf(stderr, "error: unknown option '%c'\n", c); goto error_usage; } }