Silence warnings about seteuid return value.

Closes #483.
This commit is contained in:
Hisham
2016-05-25 21:37:07 -03:00
parent b7ac416634
commit fa0c637c55
4 changed files with 13 additions and 13 deletions

View File

@ -95,7 +95,7 @@ bool TraceScreen_forkTracer(TraceScreen* this) {
this->child = fork();
if (this->child == -1) return false;
if (this->child == 0) {
seteuid(getuid());
(void) seteuid(getuid());
dup2(this->fdpair[1], STDERR_FILENO);
int ok = fcntl(this->fdpair[1], F_SETFL, O_NONBLOCK);
if (ok != -1) {