libiberty patch committed: Minor optimization (PR 54800)

Ian Lance Taylor
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.


2013-01-04  Ian Lance Taylor  <>

	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: <>

More information about the Gcc-patches mailing list