2
0
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:
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: 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);
}