From: Václav Slavík Date: Sun, 16 Jun 2013 11:51:38 +0000 (+0000) Subject: Remove superfluous call in wxTranslations::LoadCatalog(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5fbd55b9461cdc6710a91d32a5927a0638fa38bc?ds=inline Remove superfluous call in wxTranslations::LoadCatalog(). This call to GetAvailableTranslations() did nothing, it's value was ignored, and it was done before m_loader was checked for != NULL. Probably some leftover debugging code. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/translation.cpp b/src/common/translation.cpp index 1996330eac..e9bbd0e4eb 100644 --- a/src/common/translation.cpp +++ b/src/common/translation.cpp @@ -1512,7 +1512,6 @@ bool wxTranslations::AddCatalog(const wxString& domain, bool wxTranslations::LoadCatalog(const wxString& domain, const wxString& lang) { - m_loader->GetAvailableTranslations(domain); wxCHECK_MSG( m_loader, false, "loader can't be NULL" ); wxMsgCatalog *cat = NULL;