[cfe-commits] [patch] minor error checking case in ARC Migration

Douglas Gregor dgregor at apple.com
Mon Apr 30 18:38:56 PDT 2012

On Mar 24, 2012, at 3:46 PM, David Blaikie <dblaikie at gmail.com> wrote:

> GCC's rather patchy "may be uninitialized" warning caught what seems
> to me like an actual missing error case in the ARC Migration tool.
> Attached is a patch to fix this. I wasn't sure how to write a test
> case for this - as it seems there are no tests for any of the error
> cases in this part of the code. If anyone knows how to write such
> tests I'd be happy to contribute them for this case and the others.

This looks fine as an "obvious fix", thanks!

	- Doug

More information about the cfe-commits mailing list