mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +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:
@@ -19,7 +19,7 @@
|
||||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id: dst_api.c,v 1.96 2001/11/28 02:35:02 bwelling Exp $
|
||||
* $Id: dst_api.c,v 1.97 2001/11/30 01:59:29 gson Exp $
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
@@ -882,7 +882,7 @@ read_public_key(const char *filename, isc_mem_t *mctx, dst_key_t **keyp) {
|
||||
|
||||
cleanup:
|
||||
if (lex != NULL) {
|
||||
isc_lex_close(lex);
|
||||
RUNTIME_CHECK(isc_lex_close(lex) == ISC_R_SUCCESS);
|
||||
isc_lex_destroy(&lex);
|
||||
}
|
||||
isc_mem_put(mctx, newfilename, newfilenamelen);
|
||||
|
Reference in New Issue
Block a user