diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-06-03 19:50:33 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-06-03 19:50:33 +0000 |
commit | c627c71afa8524db228768513547b8d836cc40c0 (patch) | |
tree | f4a99d42f2187506668058afedf1c430bb299133 /regress/mdoc/Nd/par.out_ascii | |
parent | 6016e77859b9188cf40c3199e4c8df9314f9cd11 (diff) | |
download | mandoc-c627c71afa8524db228768513547b8d836cc40c0.tar.gz mandoc-c627c71afa8524db228768513547b8d836cc40c0.tar.zst mandoc-c627c71afa8524db228768513547b8d836cc40c0.zip |
Initialize the local variable "act" in print_mdoc_node().
While there is no bug, it helps clarity, and it is also safer in this
particular code because in case a bug gets introduced later, accessing
a NULL pointer is less dangerous than accessing an uninitialized pointer.
Michal Nowak <mnowak at startmail dot com> reported that gcc 4.4.4
and 7.4.0 on illumos throw -Wuninitialized false positives.
Diffstat (limited to 'regress/mdoc/Nd/par.out_ascii')
0 files changed, 0 insertions, 0 deletions