From 76b7307c73c448ff347064ce94c3a3b4f9715b44 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 18 Sep 2006 20:14:28 +0000 Subject: [PATCH] remove unused --- stepmania/src/RageUtil.cpp | 6 ------ stepmania/src/RageUtil.h | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/stepmania/src/RageUtil.cpp b/stepmania/src/RageUtil.cpp index 0904021376..8b5a989bc6 100644 --- a/stepmania/src/RageUtil.cpp +++ b/stepmania/src/RageUtil.cpp @@ -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. diff --git a/stepmania/src/RageUtil.h b/stepmania/src/RageUtil.h index 9caa5f9a7b..2bfa3ce618 100644 --- a/stepmania/src/RageUtil.h +++ b/stepmania/src/RageUtil.h @@ -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 );