mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
daemon: No need to check optarg, -p requires argument
CID 1323589 getopt() makes sure that we have an argument for -p remove the broken check for optarg being set
This commit is contained in:
parent
c7310f8e37
commit
cadbb2b315
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ int pa_cmdline_parse(pa_daemon_conf *conf, int argc, char *const argv [], int *d
|
|||
case 'p':
|
||||
case ARG_DL_SEARCH_PATH:
|
||||
pa_xfree(conf->dl_search_path);
|
||||
conf->dl_search_path = *optarg ? pa_xstrdup(optarg) : NULL;
|
||||
conf->dl_search_path = pa_xstrdup(optarg);
|
||||
break;
|
||||
|
||||
case 'n':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue