mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
Correctly check last non-checked return values
This commit is contained in:
parent
42dc11e3b1
commit
0b59ca5859
@ -147,7 +147,9 @@ restart:
|
||||
*p = '\0';
|
||||
save_errno = errno;
|
||||
if ((term.c_lflag & ECHO) == 0u) {
|
||||
(void)write(output, "\n", 1);
|
||||
if(write(output, "\n", 1) != -1) {
|
||||
//dummy test to get rid of warn_unused_result compilation warning
|
||||
}
|
||||
}
|
||||
|
||||
/* Restore old terminal settings and signals. */
|
||||
|
Loading…
Reference in New Issue
Block a user