Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions judge/runguard.cc
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ void verbose(const char *format, ...)
void verbose_from_signalhandler(const char* msg)
{
if (!be_quiet && be_verbose) {
write(STDERR_FILENO, msg, strlen(msg));
std::ignore = write(STDERR_FILENO, msg, strlen(msg));
}
}

Expand All @@ -242,7 +242,7 @@ void warning_from_signalhandler(const char* msg)
if (!be_quiet) {
// Do not include timing here, as it wouldn't be safe from a signalhandler.
// TODO: Consider rewriting using clock_gettime in the future.
write(STDERR_FILENO, msg, strlen(msg));
std::ignore = write(STDERR_FILENO, msg, strlen(msg));
}
}

Expand Down
Loading