* libmisc/yesno.c: Ignore the return value of puts.
This commit is contained in:
parent
35f0a2e951
commit
cbd90eed74
@ -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>
|
||||
|
||||
* libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
|
||||
|
@ -57,7 +57,7 @@ bool yes_or_no (bool read_only)
|
||||
* In read-only mode all questions are answered "no".
|
||||
*/
|
||||
if (read_only) {
|
||||
puts (_("No"));
|
||||
(void) puts (_("No"));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user