summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Op
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
commitdaa462ce407538b363fe9ffa864ed82ff958ebb1 (patch)
tree715610ec249883e05ca8063917c2a1231f6d9868 /regress/mdoc/Op
parent6c467e8e8685ea6c34efbf37519b8d5adfb3ff59 (diff)
downloadmandoc-daa462ce407538b363fe9ffa864ed82ff958ebb1.tar.gz
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/Op')
0 files changed, 0 insertions, 0 deletions