Summary: | unneeded zero of variables in elftoolchain 'size' program | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Kurt Lidl <lidl> | ||||
Component: | bin | Assignee: | Ed Maste <emaste> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | emaste | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 203349 | ||||||
Attachments: |
|
Committed upstream in r3242, will come in with the next ELF Tool Chain import. New ELF Tool Chain imported in r289071 |
Created attachment 159629 [details] 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.