mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +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: file.c,v 1.41 2001/09/20 21:21:49 gson Exp $ */
|
||||
/* $Id: file.c,v 1.42 2001/11/30 01:59:42 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -178,7 +178,7 @@ isc_file_renameunique(const char *file, char *templet) {
|
||||
}
|
||||
}
|
||||
if (fd != -1)
|
||||
close(fd);
|
||||
(void)close(fd);
|
||||
return (result);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user