libiberty patch committed: Minor optimization (PR 54800)
Ian Lance Taylor
iant@google.com
Fri Jan 4 19:00:00 GMT 2013
PR 54800 points out a minor optimization uncovered by cppcheck. This
optimization is not important, but we might as well fix it in case
cppcheck comes up with something useful.
Tested by Iain Sandoe (thanks!). Committed to mainline.
Ian
2013-01-04 Ian Lance Taylor <iant@google.com>
PR other/54800
* simple-object-mach-o.c (simple_object_mach_o_segment): Don't
bother to zero out a buffer we are about to set anyhow.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1124 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130104/dd522f46/attachment.bin>
More information about the Gcc-patches
mailing list