diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-04-27 18:27:34 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-04-27 18:27:34 -0700 |
commit | 4948508277e424264a1b6232a6c275dd03fd584d (patch) | |
tree | 70cb6a42b079f8c21cd136d740f5d8d2f530dbcc /proc.cpp | |
parent | fb89c762fc909a4b5a5c51f51990185b30ec6857 (diff) |
Squelch some more warnings on Linux
Diffstat (limited to 'proc.cpp')
-rw-r--r-- | proc.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -383,8 +383,6 @@ static void mark_process_status(const job_t *j, process_t *p, int status) } else { - ssize_t ignore __attribute__((unused)); - /* This should never be reached */ p->completed = 1; @@ -398,7 +396,7 @@ static void mark_process_status(const job_t *j, process_t *p, int status) handler. If things aren't working properly, it's safer to give up. */ - ignore = write(2, mess, strlen(mess)); + write_ignore(2, mess, strlen(mess)); } } |