]> git.cameronkatri.com Git - mandoc.git/commit
minor cleanup, no functional change:
authorIngo Schwarze <schwarze@openbsd.org>
Sat, 5 Jan 2019 01:29:32 +0000 (01:29 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sat, 5 Jan 2019 01:29:32 +0000 (01:29 +0000)
commit6b5526d085aa5baa312a328e0a7cb473bd527164
treeee92d0833cf4af6ecf52f9d81c8a02709469a5fc
parent3aebc3c30c9b70518679c6e3c9610ac4ffc32b61
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
man_term.c