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.
Thanks, - David
uninit.diff
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
