summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-15 15:58:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-15 15:58:46 +0000
commitc5b0120ca117dc54fa423077e5640fc89c76e334 (patch)
treef31e02cebdf7a0f2538be61b2eef4bc4c31995d7 /libmdoc.h
parentfd937b95ac36e5b91d8c11bbf3d44db1b9dc5a74 (diff)
downloadmandoc-c5b0120ca117dc54fa423077e5640fc89c76e334.tar.gz
Style improvement, no functional change.
As reported by Yuri Pankov, some versions of GCC whine that "tmp" might be used uninitialized in fts_open(3). Clearly, that cannot actually happen, but explicitly setting it to NULL is safer anyway. While here, rename the badly named variable "tmp" and make the inner "if" easier to understand. Feedback and OK guenther@
Diffstat (limited to 'libmdoc.h')
0 files changed, 0 insertions, 0 deletions