Quiet a few -Wunused-result compiler warnings.
This commit is contained in:
@@ -146,7 +146,7 @@ int sudo_debug_init(const char *debugfile, const char *settings)
|
||||
}
|
||||
if (sudo_debug_fd == -1)
|
||||
return 0;
|
||||
fchown(sudo_debug_fd, (uid_t)-1, 0);
|
||||
ignore_result(fchown(sudo_debug_fd, (uid_t)-1, 0));
|
||||
}
|
||||
(void)fcntl(sudo_debug_fd, F_SETFD, FD_CLOEXEC);
|
||||
sudo_debug_mode = SUDO_DEBUG_MODE_FILE;
|
||||
|
Reference in New Issue
Block a user