]> git.ipfire.org Git - thirdparty/bind9.git/commit
'indentctx' is always defined. Just use it.
authorMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 04:55:08 +0000 (15:55 +1100)
committerMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 07:37:17 +0000 (18:37 +1100)
commitaa101260d964db5552c6107254a545ba8d583bbb
tree759750bf2dbdc62841e9428776c4fb9529adea0d
parent0be2dc9f22bf736790958fe0a4227d01bccabd3e
'indentctx' is always defined.  Just use it.

402        ctx->serve_stale_ttl = 0;

notnull: At condition indentctx, the value of indentctx
cannot be NULL.  dead_error_condition: The condition indentctx
must be true.

CID 1456147 (#1 of 1): Logically dead code (DEADCODE)
dead_error_line: Execution cannot reach the expression
default_indent inside this statement: ctx->indent = (indentctx
? ....

403        ctx->indent = indentctx ? *indentctx : default_indent;
lib/dns/masterdump.c