Skip to content

Commit

Permalink
Remove unused variable introduced in last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
millert committed Jul 27, 2023
1 parent 760c9c1 commit 857653f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@ sudo_needs_pty(const struct command_details *details)
bool
fd_matches_tty(int fd, struct stat *tty_sb, struct stat *fd_sb)
{
bool ret;
debug_decl(fd_is_user_tty, SUDO_DEBUG_EXEC);

if (fstat(fd, fd_sb) == -1 || !S_ISCHR(fd_sb->st_mode)) {
Expand Down

0 comments on commit 857653f

Please sign in to comment.