mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pw-cat: don't print useless error
getopt has already printed a much better error for us. See #2558
This commit is contained in:
parent
87f1979b36
commit
d030983212
1 changed files with 0 additions and 2 deletions
|
|
@ -1439,9 +1439,7 @@ int main(int argc, char *argv[])
|
||||||
case OPT_VOLUME:
|
case OPT_VOLUME:
|
||||||
data.volume = atof(optarg);
|
data.volume = atof(optarg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fprintf(stderr, "error: unknown option '%c'\n", c);
|
|
||||||
goto error_usage;
|
goto error_usage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue