Reduce the scope of some local variables
This commit is contained in:
@@ -1478,9 +1478,9 @@ wxTranslations::~wxTranslations()
|
||||
delete m_loader;
|
||||
|
||||
// free catalogs memory
|
||||
wxMsgCatalog *pTmpCat;
|
||||
while ( m_pMsgCat != NULL )
|
||||
{
|
||||
wxMsgCatalog* pTmpCat;
|
||||
pTmpCat = m_pMsgCat;
|
||||
m_pMsgCat = m_pMsgCat->m_pNext;
|
||||
delete pTmpCat;
|
||||
|
Reference in New Issue
Block a user