[Project64] Cleanup path.cpp
This commit is contained in:
parent
996098d929
commit
7b747cb5e0
|
@ -142,7 +142,6 @@ CPath::~CPath()
|
|||
Exit();
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// Post : Return TRUE if paths are equal
|
||||
// Task : Check if the two path are the same
|
||||
|
@ -537,7 +536,6 @@ void CPath::SetName(int iName)
|
|||
SetComponents(Drive.c_str(), Directory.c_str(), sName, Extension.c_str());
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// Task : Set path's file extension
|
||||
//-------------------------------------------------------------
|
||||
|
@ -917,7 +915,6 @@ bool CPath::FindNext()
|
|||
WIN32_FIND_DATA FindData;
|
||||
while (FindNextFile(m_hFindFile, &FindData) != FALSE)
|
||||
{ // while(FindNext(...))
|
||||
|
||||
if (AttributesMatch(m_dwFindFileAttributes, FindData.dwFileAttributes))
|
||||
{ // if(AttributesMatch(...)
|
||||
if ((_A_SUBDIR & FindData.dwFileAttributes) == _A_SUBDIR)
|
||||
|
@ -1042,7 +1039,6 @@ void CPath::StripLeadingChar(std::string& rText, TCHAR chLeading) const
|
|||
rText = rText.substr(1);
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
// Task : Remove first character if \
|
||||
//------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue