summaryrefslogtreecommitdiffstats
path: root/dba_array.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-04-30 11:32:42 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-04-30 11:32:42 +0000
commit48ea36cd719fe9e1d2b8360d426a8ac9003439af (patch)
treeffccfca70cdf0b5b82ad4133cf66c734dbb8e4e4 /dba_array.h
parentc0667bb0674363961e21650dd6fa239e4696d039 (diff)
downloadmandoc-48ea36cd719fe9e1d2b8360d426a8ac9003439af.tar.gz
Refactor the handler function roff_block_sub() for clarity and simplicity.
1. Do not needlessly access the function pointer table roffs[]. Instead, simply call the block closing function directly. 2. Sort code: handle both cases of block closing at the beginning of the function rather than one at the beginning and one at the end. 3. Trim excessive, partially repetitive and obvious comments, also making the comments considerably more precise. No functional change.
Diffstat (limited to 'dba_array.h')
0 files changed, 0 insertions, 0 deletions