]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/scriptbinder.cpp
attempts to fix recursive mutex initialized detection under RedHat 7.1 (new glibc)
[wxWidgets.git] / utils / HelpGen / src / scriptbinder.cpp
index 6d08955e166a8040980f4f5a4a870ed9f5b92f79..5ef0e7b0bdce032d86bef6c5d380a7238a9fc2c7 100644 (file)
@@ -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 );
        }