Fix some warnings

When memfd and systemd are disabled.

See #987
This commit is contained in:
Wim Taymans 2021-04-04 21:09:39 +02:00
parent 97b01ed9b0
commit 7bd6b725dc
3 changed files with 6 additions and 0 deletions

View file

@ -6129,7 +6129,9 @@ static int make_local_socket(struct server *server, char *name)
goto error_close;
}
pw_log_info(NAME" listening on unix:%s", server->addr.sun_path);
#ifdef HAVE_SYSTEMD
done:
#endif
server->activated = activated;
server->type = SERVER_TYPE_UNIX;