client-conf: Remove redundant function parameters

This commit is contained in:
Tanu Kaskinen 2014-03-19 12:19:07 +02:00
parent aca30527e2
commit 0a583fe0c3
8 changed files with 18 additions and 30 deletions

View file

@ -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);

View file

@ -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;
}