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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user