aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-27 18:27:34 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-27 18:27:34 -0700
commit4948508277e424264a1b6232a6c275dd03fd584d (patch)
tree70cb6a42b079f8c21cd136d740f5d8d2f530dbcc /proc.cpp
parentfb89c762fc909a4b5a5c51f51990185b30ec6857 (diff)
Squelch some more warnings on Linux
Diffstat (limited to 'proc.cpp')
-rw-r--r--proc.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/proc.cpp b/proc.cpp
index 8ebcdb01..f62b00f6 100644
--- a/proc.cpp
+++ b/proc.cpp
@@ -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));
}
}