diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-04-14 01:22:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-04-14 01:22:42 +0200 |
commit | 40d71e1f4914e021f321425a37825933b595a860 (patch) | |
tree | 054b5b02b94a8673f255eb3cc87f19f5f7392398 /src/daemon/cpulimit.c | |
parent | 845b312f4499eefe10a2be163ed8b5bc226b971d (diff) |
explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute
Diffstat (limited to 'src/daemon/cpulimit.c')
-rw-r--r-- | src/daemon/cpulimit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/cpulimit.c b/src/daemon/cpulimit.c index 64728e27..45d6a0fb 100644 --- a/src/daemon/cpulimit.c +++ b/src/daemon/cpulimit.c @@ -139,7 +139,7 @@ static void signal_handler(int sig) { write_err("Soft CPU time limit exhausted, terminating.\n"); /* Try a soft cleanup */ - write(the_pipe[1], &c, sizeof(c)); + (void) write(the_pipe[1], &c, sizeof(c)); phase = PHASE_SOFT; reset_cpu_time(CPUTIME_INTERVAL_HARD); |