summaryrefslogtreecommitdiff
path: root/src/path-lookup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-17 23:47:59 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-17 23:47:59 +0200
commit8745297f9853c4a17bac69e1b7e652fe81bc1940 (patch)
treedfc55ba1ca4296fcdbe03983fc434c80d3465c7b /src/path-lookup.c
parent634826b51b074b2e6d9314031bdd9abdcf862b54 (diff)
gcc: disable warn_unused_result attribute warnings
Diffstat (limited to 'src/path-lookup.c')
-rw-r--r--src/path-lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path-lookup.c b/src/path-lookup.c
index 7a5b9b813e..093e04de37 100644
--- a/src/path-lookup.c
+++ b/src/path-lookup.c
@@ -96,7 +96,7 @@ static char** session_dirs(void) {
* one. */
mkdir_parents(data_home, 0777);
- symlink("../../../.config/systemd/session", data_home);
+ (void) symlink("../../../.config/systemd/session", data_home);
}
if ((e = getenv("XDG_DATA_DIRS")))