mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -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
|
|
@ -37,14 +37,15 @@
|
|||
|
||||
#include "client-conf-x11.h"
|
||||
|
||||
int pa_client_conf_from_x11(pa_client_conf *c, const char *dname) {
|
||||
int pa_client_conf_from_x11(pa_client_conf *c) {
|
||||
const char *dname;
|
||||
xcb_connection_t *xcb = NULL;
|
||||
int ret = -1, screen = 0;
|
||||
char t[1024];
|
||||
|
||||
pa_assert(c);
|
||||
|
||||
if (!dname && !(dname = getenv("DISPLAY")))
|
||||
if (!(dname = getenv("DISPLAY")))
|
||||
goto finish;
|
||||
|
||||
if (*dname == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue