first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -450,16 +450,16 @@ wxFileConfig::wxFileConfig(const wxString& appName, const wxString& vendorName,
|
||||
{
|
||||
if ( !m_strLocalFile.empty() && !wxIsAbsolutePath(m_strLocalFile) )
|
||||
{
|
||||
wxString strLocal = m_strLocalFile;
|
||||
const wxString strLocalOrig = m_strLocalFile;
|
||||
m_strLocalFile = GetLocalDir();
|
||||
m_strLocalFile << strLocal;
|
||||
m_strLocalFile << strLocalOrig;
|
||||
}
|
||||
|
||||
if ( !m_strGlobalFile.empty() && !wxIsAbsolutePath(m_strGlobalFile) )
|
||||
{
|
||||
wxString strGlobal = m_strGlobalFile;
|
||||
const wxString strGlobalOrig = m_strGlobalFile;
|
||||
m_strGlobalFile = GetGlobalDir();
|
||||
m_strGlobalFile << strGlobal;
|
||||
m_strGlobalFile << strGlobalOrig;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -664,7 +664,7 @@ void wxFileConfig::Parse(const wxTextBuffer& buffer, bool bLocal)
|
||||
}
|
||||
}
|
||||
else { // a key
|
||||
const wxChar *pEnd = pStart;
|
||||
pEnd = pStart;
|
||||
while ( *pEnd && *pEnd != wxT('=') /* && !wxIsspace(*pEnd)*/ ) {
|
||||
if ( *pEnd == wxT('\\') ) {
|
||||
// next character may be space or not - still take it because it's
|
||||
|
Reference in New Issue
Block a user