Date: Fri, 07 Aug 2015 03:06:16 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 202146] unneeded zero of variables in elftoolchain 'size' program Message-ID: <bug-202146-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: lidl@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202146-8>