diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-02-15 15:58:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-02-15 15:58:41 +0000 |
commit | 9772f0af93451a60ad404028cec8355927e78fec (patch) | |
tree | d73ab73d3f582fce227e3bf078003fd8d547aed4 /sys/kern/kern_resource.c | |
parent | d6034bf90ea06aae74e460a05ece28badfb03941 (diff) |
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 'sys/kern/kern_resource.c')
0 files changed, 0 insertions, 0 deletions