diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-06-03 19:58:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-06-03 19:58:02 +0000 |
commit | 8238052233df39761f179f81db886271c18f4cd4 (patch) | |
tree | 0727b6372f44e5d11f33c079528fc88e5e6cb2b3 /regress/mdoc/Ic | |
parent | c627c71afa8524db228768513547b8d836cc40c0 (diff) | |
download | mandoc-8238052233df39761f179f81db886271c18f4cd4.tar.gz mandoc-8238052233df39761f179f81db886271c18f4cd4.tar.zst mandoc-8238052233df39761f179f81db886271c18f4cd4.zip |
Initialize the local variable "lastln" in mparse_buf_r().
While there is no bug, it logically makes sense given the meaning
of the variable that lastln is NULL as long as firstln is NULL.
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/Ic')
0 files changed, 0 insertions, 0 deletions