summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--src/path-lookup.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1d358d2c88..6e28bfcad0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,7 @@ CC_CHECK_CFLAGS_APPEND([ \
-Wno-overlength-strings \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
+ -Wno-unused-result \
-Wp,-D_FORTIFY_SOURCE=2 \
-ffast-math \
-fno-common \
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")))