Commit fd4c52d4 authored by Allen Winter's avatar Allen Winter

calendarjanitor/main.cpp - add a krazy exclusion

parent f2d28d2a
......@@ -64,10 +64,12 @@ static void silenceStderr()
{
#ifdef Q_OS_UNIX
if (qgetenv("KDE_CALENDARJANITOR_DEBUG") != "1") {
//krazy:cond=syscalls since UNIX-only code
// Disable stderr so we can actually read what's going on
int fd = ::open("/dev/null", O_WRONLY);
::dup2(fd, 2);
::close(fd);
//krazy:endcond=syscalls
}
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment