[Pkg-shadow-commits] r2765 - in upstream/trunk: . libmisc

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Thu Apr 23 11:14:56 UTC 2009


Author: nekral-guest
Date: 2009-04-23 11:14:56 +0000 (Thu, 23 Apr 2009)
New Revision: 2765

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/yesno.c
Log:
	* libmisc/yesno.c: Ignore the return value of puts.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2009-04-23 11:14:18 UTC (rev 2764)
+++ upstream/trunk/ChangeLog	2009-04-23 11:14:56 UTC (rev 2765)
@@ -1,5 +1,9 @@
 2009-04-22  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* libmisc/yesno.c: Ignore the return value of puts.
+
+2009-04-22  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
 	* libmisc/age.c: The return value of execl() is not used.
 

Modified: upstream/trunk/libmisc/yesno.c
===================================================================
--- upstream/trunk/libmisc/yesno.c	2009-04-23 11:14:18 UTC (rev 2764)
+++ upstream/trunk/libmisc/yesno.c	2009-04-23 11:14:56 UTC (rev 2765)
@@ -57,7 +57,7 @@
 	 * In read-only mode all questions are answered "no".
 	 */
 	if (read_only) {
-		puts (_("No"));
+		(void) puts (_("No"));
 		return false;
 	}
 




More information about the Pkg-shadow-commits mailing list