[utils,passphrase] fix unused result warning

This commit is contained in:
akallabeth 2024-09-13 10:48:03 +02:00
parent 71080e61b0
commit 70b597ce1e
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
1 changed files with 2 additions and 1 deletions

View File

@ -202,7 +202,8 @@ error:
{
int saved_errno = errno;
if (terminal_needs_reset)
tcsetattr(terminal_fildes, TCSAFLUSH, &orig_flags);
(void)tcsetattr(terminal_fildes, TCSAFLUSH, &orig_flags);
if (terminal_fildes != STDIN_FILENO)
{
if (fp)