summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-15 17:17:24 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-15 17:26:58 -0400
commite62d9b81926e22f7a1d8a117fd85bb735d3cead2 (patch)
tree3547e4ab46ef4da1fa8be202d664a514bcec3e63 /src/core
parentcc02a7b3304975e39ad5863983b16ef149b7f9e9 (diff)
Add (void) where we don't care about return value
Diffstat (limited to 'src/core')
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 3ec70f9815..2d393deb9e 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -156,7 +156,7 @@ noreturn static void crash(int sig) {
setrlimit(RLIMIT_CORE, &rl);
/* Just to be sure... */
- chdir("/");
+ (void) chdir("/");
/* Raise the signal again */
pid = raw_getpid();