mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
client-conf: Remove redundant function parameters
This commit is contained in:
parent
aca30527e2
commit
0a583fe0c3
8 changed files with 18 additions and 30 deletions
|
|
@ -346,9 +346,9 @@ static char *check_configured_address(void) {
|
|||
char *default_server = NULL;
|
||||
pa_client_conf *c = pa_client_conf_new();
|
||||
|
||||
pa_client_conf_load(c, NULL);
|
||||
pa_client_conf_load(c);
|
||||
#ifdef HAVE_X11
|
||||
pa_client_conf_from_x11(c, NULL);
|
||||
pa_client_conf_from_x11(c);
|
||||
#endif
|
||||
pa_client_conf_env(c);
|
||||
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ static enum get_address_result_t get_address(pa_server_type_t server_type, char
|
|||
|
||||
*address = NULL;
|
||||
|
||||
if (pa_client_conf_load(conf, NULL) < 0) {
|
||||
if (pa_client_conf_load(conf) < 0) {
|
||||
r = FAILED_TO_LOAD_CLIENT_CONF;
|
||||
goto finish;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue