CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/06/03 13:50:31
Modified files:
usr.bin/mandoc : mdoc_term.c
Log message:
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.