aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/tbl/layout/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-06-03 19:50:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-06-03 19:50:33 +0000
commitc627c71afa8524db228768513547b8d836cc40c0 (patch)
treef4a99d42f2187506668058afedf1c430bb299133 /regress/tbl/layout/Makefile
parent6016e77859b9188cf40c3199e4c8df9314f9cd11 (diff)
downloadmandoc-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/tbl/layout/Makefile')
0 files changed, 0 insertions, 0 deletions