diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-05 01:29:32 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-05 01:29:32 +0000 |
commit | 6d983e6b91d33cfce742f7ed4b3393400fd80b02 (patch) | |
tree | dc55a54c2731c9f6b4affba6944f8c059a4d97eb /regress/mdoc/Nm/long.in | |
parent | d8913894b97315b5c09b9489ccee2d1f74f0c450 (diff) | |
download | mandoc-6d983e6b91d33cfce742f7ed4b3393400fd80b02.tar.gz |
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 'regress/mdoc/Nm/long.in')
0 files changed, 0 insertions, 0 deletions