work around some (harmless) g++ warnings about possibly uninitalized variables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-03-11 13:57:05 +00:00
parent 5aac6f3f95
commit 8793514e03
2 changed files with 8 additions and 2 deletions

View File

@@ -769,7 +769,7 @@ TAG_HANDLER_BEGIN(TABLE, "TABLE,TR,TD,TH")
m_WParser->OpenContainer();
// the header should be rendered in bold by default
int boldOld wxDUMMY_INITIALIZE(0);
int boldOld = 0;
if ( isHeader )
{
boldOld = m_WParser->GetFontBold();