* libmisc/yesno.c: Ignore the return value of puts.

This commit is contained in:
nekral-guest 2009-04-23 11:14:56 +00:00
parent 35f0a2e951
commit cbd90eed74
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/yesno.c: Ignore the return value of puts.
2009-04-22 Nicolas François <nicolas.francois@centraliens.net> 2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1). * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).

View File

@ -57,7 +57,7 @@ bool yes_or_no (bool read_only)
* In read-only mode all questions are answered "no". * In read-only mode all questions are answered "no".
*/ */
if (read_only) { if (read_only) {
puts (_("No")); (void) puts (_("No"));
return false; return false;
} }