[Bug 202146] unneeded zero of variables in elftoolchain 'size' program
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Aug 7 03:06:16 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202146
Bug ID: 202146
Summary: unneeded zero of variables in elftoolchain 'size'
program
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: lidl at pix.net
Created attachment 159629
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159629&action=edit
Patch to remove unneeded variable setting in 'size' program.
There's an unnecessary zeroing of two variables in the 'size' program.
Pointed out by the clang static analysis tool.
I've been running with this patch for a couple of months on my machine
that tracks -CURRNET and have noticed no problems.
Patch is attached.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list