mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-05 13:29:50 -05:00
tests: Quiet warning
This commit is contained in:
parent
91931bcabb
commit
2be6e0ed14
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@ static const struct sockaddr_un example_sockaddr_un;
|
||||||
#define TOO_LONG (1 + sizeof example_sockaddr_un.sun_path)
|
#define TOO_LONG (1 + sizeof example_sockaddr_un.sun_path)
|
||||||
|
|
||||||
/* Ensure the connection doesn't fail due to lack of XDG_RUNTIME_DIR. */
|
/* Ensure the connection doesn't fail due to lack of XDG_RUNTIME_DIR. */
|
||||||
static void require_xdg_runtime_dir()
|
static void
|
||||||
|
require_xdg_runtime_dir(void)
|
||||||
{
|
{
|
||||||
char *val = getenv("XDG_RUNTIME_DIR");
|
char *val = getenv("XDG_RUNTIME_DIR");
|
||||||
if (!val)
|
if (!val)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue