Silence harmless MSVC warning (hidden local var)

This commit is contained in:
Tobias Taschner
2018-10-24 10:53:53 +02:00
parent a52393267a
commit e285b3dfef

View File

@@ -288,8 +288,8 @@ bool wxIniConfig::DoReadString(const wxString& szKey, wxString *pstr) const
m_strLocalFilename.t_str());
if ( wxIsEmpty(szBuf) ) {
// now look in win.ini
wxString strKey = GetKeyName(path.Name());
GetProfileString(m_strGroup.t_str(), strKey.t_str(),
wxString strWinKey = GetKeyName(path.Name());
GetProfileString(m_strGroup.t_str(), strWinKey.t_str(),
wxT(""), szBuf, WXSIZEOF(szBuf));
}