[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20240] trunk/blender/intern/ghost/intern/ GHOST_SystemWin32.cpp: Patch #18758 for bug #17423 by Matt D.

Benoit Bolsee benoit.bolsee at online.be
Mon May 18 00:29:45 CEST 2009


This patch causes an MSVC uninitialized variable runtime condition with
the lResult variable at line 911:

if (event) {
	system->pushEvent(event);
	if(!lResult)    <<=== here
		lResult = 0;
}

Should lResult be initialized?

One remark: 	if(!lResult) lResult = 0;    seems pretty much useless.
What was the intention?




More information about the Bf-committers mailing list