X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cecfc5e7e54067ea099334a1fbce852ca69a6b11..6dc34ebbd8f787eb42018df5b5fb938c1c7390aa:/utils/HelpGen/src/scriptbinder.cpp?ds=sidebyside diff --git a/utils/HelpGen/src/scriptbinder.cpp b/utils/HelpGen/src/scriptbinder.cpp index 6d08955e16..5ef0e7b0bd 100644 --- a/utils/HelpGen/src/scriptbinder.cpp +++ b/utils/HelpGen/src/scriptbinder.cpp @@ -238,7 +238,7 @@ inline void ScriptTemplate::PrintVar( TVarInfo* pInfo, if ( !sz ) { // DBG:: - int u; + int u = 0; ++u; break; } @@ -308,7 +308,7 @@ void ScriptTemplate::PrintScript( void* dataObj, ScriptStream& stm ) // variable referred by template script is not // registered to this tempalte object - ASSERT( found ); + // ASSERT( found ); } while(1); } @@ -398,7 +398,7 @@ ScriptSection* ScriptSection::GetSubsection( const char* name ) ++cur; } - ASSERT( cur < sizeof(buf) ); + // ASSERT( cur < sizeof(buf) ); buf[cur] = '\0'; @@ -432,7 +432,7 @@ void ScriptSection::AddSection( ScriptSection* pSection, pSection->AddRef(); // can add section to multiple containers - ASSERT( pSection->mpParent == 0 ); + // ASSERT( pSection->mpParent == 0 ); pSection->mpParent = this; @@ -602,7 +602,7 @@ bool DocGeneratorBase::SaveDocument( const char* fname, else { ScriptSection* pTopSect = GetTopSection(); - ASSERT( pTopSect ); + // ASSERT( pTopSect ); pTopSect->Print( stm ); }