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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user