2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Check return values or cast them to (void), as required by the coding

standards; add exceptions to the coding standards for cases where this is
not desirable
This commit is contained in:
Andreas Gustafsson
2001-11-30 01:59:49 +00:00
parent 9ac8796f16
commit 1f1d36a87b
61 changed files with 420 additions and 409 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: time.c,v 1.42 2001/09/20 06:50:34 marka Exp $ */
/* $Id: time.c,v 1.43 2001/11/30 01:59:48 gson Exp $ */
#include <config.h>
@@ -77,7 +77,7 @@ fix_tv_usec(struct timeval *tv) {
* Call syslog directly as was are called from the logging functions.
*/
if (fixed)
syslog(LOG_ERR, "gettimeofday returned bad tv_usec: corrected");
(void)syslog(LOG_ERR, "gettimeofday returned bad tv_usec: corrected");
}
#endif