remove unused

This commit is contained in:
Glenn Maynard
2006-09-18 20:14:28 +00:00
parent 4a81774221
commit 76b7307c73
2 changed files with 1 additions and 8 deletions
-6
View File
@@ -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.
+1 -2
View File
@@ -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 );