Skip to content

Commit

Permalink
minor cleanup, no functional change:
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ischwarze committed Jan 5, 2019
1 parent ba3cca6 commit 93d668c
Showing 1 changed file with 65 additions and 82 deletions.
Loading

0 comments on commit 93d668c

Please sign in to comment.