From 5fbd55b9461cdc6710a91d32a5927a0638fa38bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 16 Jun 2013 11:51:38 +0000 Subject: [PATCH] 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 --- src/common/translation.cpp | 1 - 1 file changed, 1 deletion(-) 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; -- 2.50.0