aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-01-05 01:29:32 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-01-05 01:29:32 +0000
commit6b5526d085aa5baa312a328e0a7cb473bd527164 (patch)
treeee92d0833cf4af6ecf52f9d81c8a02709469a5fc /roff.c
parent3aebc3c30c9b70518679c6e3c9610ac4ffc32b61 (diff)
downloadmandoc-6b5526d085aa5baa312a328e0a7cb473bd527164.tar.gz
mandoc-6b5526d085aa5baa312a328e0a7cb473bd527164.tar.zst
mandoc-6b5526d085aa5baa312a328e0a7cb473bd527164.zip
minor cleanup, no functional change:
* in node type switches, explicitly handle all types, sort them, and abort() on those that cannot occur * avoid testing pointers as truth values, use "!= NULL" * avoid testing "constant == variable", use "variable == constant" * prefer sizeof(var) over sizeof(type) * delete one duplicate function * sort some declarations * delete some useless blank lines
Diffstat (limited to 'roff.c')
0 files changed, 0 insertions, 0 deletions