Uh, but child_pipe is actually initialized to INVALID_HANDLE. If the compiler is stupid, I'd rather leave the warning in, than have weird code I'll scratch my head about later. FTR, no warning is printed on VS.