2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Quiet a PVS-Studio warning about the spin loop when waiting for the

parent to assign us the terminal pgrp.
This commit is contained in:
Todd C. Miller
2016-10-26 13:49:04 -06:00
parent dbd5252798
commit 5a7936209e

View File

@@ -1539,7 +1539,7 @@ static void
exec_pty(struct command_details *details,
struct command_status *cstat, int errfd)
{
pid_t self = getpid();
volatile pid_t self = getpid();
debug_decl(exec_pty, SUDO_DEBUG_EXEC);
/* Register cleanup function */