mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Change the return type of isc_lex_create() to void
The isc_lex_create() cannot fail, so cleanup the return type from isc_result_t to void.
This commit is contained in:
@@ -530,7 +530,7 @@ cfg_parser_create(isc_mem_t *mctx, isc_log_t *lctx, cfg_parser_t **ret) {
|
||||
specials['"'] = 1;
|
||||
specials['!'] = 1;
|
||||
|
||||
CHECK(isc_lex_create(pctx->mctx, 1024, &pctx->lexer));
|
||||
isc_lex_create(pctx->mctx, 1024, &pctx->lexer);
|
||||
|
||||
isc_lex_setspecials(pctx->lexer, specials);
|
||||
isc_lex_setcomments(pctx->lexer,
|
||||
|
Reference in New Issue
Block a user