diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-03-04 21:41:29 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-03-04 21:41:29 +0000 |
commit | 0f78a29922207cc3b202fba2d268804382c6cb18 (patch) | |
tree | 10f1e2c7fedd71ea9cc588916d1cb593c2d52282 /mdoc_man.c | |
parent | f13f5fb6cfbf03df6d30eb3322d11bbb9e955fb2 (diff) | |
download | mandoc-0f78a29922207cc3b202fba2d268804382c6cb18.tar.gz |
Remove a redundant condition in .%T handling, no functional change.
Found by jsg@ with scan-build.
Diffstat (limited to 'mdoc_man.c')
-rw-r--r-- | mdoc_man.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -715,8 +715,7 @@ static int pre__t(DECL_ARGS) { - if (n->parent && MDOC_Rs == n->parent->tok && - n->parent->norm->Rs.quote_T) { + if (n->parent->tok == MDOC_Rs && n->parent->norm->Rs.quote_T) { print_word("\\(lq"); outflags &= ~MMAN_spc; } else @@ -728,8 +727,7 @@ static void post__t(DECL_ARGS) { - if (n->parent && MDOC_Rs == n->parent->tok && - n->parent->norm->Rs.quote_T) { + if (n->parent->tok == MDOC_Rs && n->parent->norm->Rs.quote_T) { outflags &= ~MMAN_spc; print_word("\\(rq"); } else |