If a compiler finds it too complex to determine whether a variable was initialized or not, you're probably better off initializing it unconditionally. I don't quite see what this has to do with a code review apart from identifying such potentially buggy code (why write it in such a way in the first place?). After fixing it there's no point in reviewing it over and over again, so there's really no reason for such an ugly macro.
Thomas KJK::Hyperion wrote:
Thomas Bluemel wrote:
What's the point of wrapping these initializations into macros?
in Microsoft (and elsewhere in the "REAL WORLD") they have a thing called a "CODE REVIEW"
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev