From 3b8a811c801eedf261e76c2bfc8fb82608eb0163 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 14 May 2004 21:51:25 +0000 Subject: [PATCH] fix warning (unreachable code), comment --- stepmania/src/CryptHelpers.cpp | 1 - stepmania/src/CryptHelpers.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/CryptHelpers.cpp b/stepmania/src/CryptHelpers.cpp index ecf00dc35c..499af6acb6 100644 --- a/stepmania/src/CryptHelpers.cpp +++ b/stepmania/src/CryptHelpers.cpp @@ -95,7 +95,6 @@ unsigned int RageFileStore::CopyRangeTo2(BufferedTransformation &target, unsigne m_file.Seek( current ); return blockedBytes; } - m_file.Seek( current ); } // TODO: figure out what happens on cin diff --git a/stepmania/src/CryptHelpers.h b/stepmania/src/CryptHelpers.h index cbb45d68b9..106b201d13 100644 --- a/stepmania/src/CryptHelpers.h +++ b/stepmania/src/CryptHelpers.h @@ -33,7 +33,7 @@ public: private: void StoreInitialize(const NameValuePairs ¶meters); - mutable RageFile m_file; // mutable so that we can call RageFile::GetFileSize() + mutable RageFile m_file; // mutable because reading from a file is not a const operation byte *m_space; unsigned int m_len; bool m_waiting;