remove unused
This commit is contained in:
@@ -1831,12 +1831,6 @@ void FixSlashesInPlace( RString &sPath )
|
||||
sPath[i] = '/';
|
||||
}
|
||||
|
||||
RString FixSlashes( RString sPath )
|
||||
{
|
||||
FixSlashesInPlace( sPath );
|
||||
return sPath;
|
||||
}
|
||||
|
||||
/*
|
||||
* Keep trailing slashes, since that can be used to illustrate that a path always
|
||||
* represents a directory.
|
||||
|
||||
@@ -488,9 +488,8 @@ bool IsADirectory( const RString &sPath );
|
||||
unsigned GetFileSizeInBytes( const RString &sFilePath );
|
||||
void FlushDirCache();
|
||||
|
||||
// call FixSlashes on any path that came from the user
|
||||
// call FixSlashesInPlace on any path that came from the user
|
||||
void FixSlashesInPlace( RString &sPath );
|
||||
RString FixSlashes( RString sPath );
|
||||
void CollapsePath( RString &sPath, bool bRemoveLeadingDot=false );
|
||||
|
||||
bool FromString( const RString &sValue, int &out );
|
||||
|
||||
Reference in New Issue
Block a user