diff --git a/ChangeLog b/ChangeLog index 183b8052..ee384337 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-04-22 Nicolas François + + * libmisc/yesno.c: Ignore the return value of puts. + 2009-04-22 Nicolas François * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1). diff --git a/libmisc/yesno.c b/libmisc/yesno.c index b3e20712..a2eb9530 100644 --- a/libmisc/yesno.c +++ b/libmisc/yesno.c @@ -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; }