From 1bcad560ccf6bbd536376b3cfe0e153ad6a48e1e Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 5 Oct 2004 11:00:53 +0000 Subject: [PATCH] What is this? It isn't in the header file and no linker errors result from not including it. --- stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp b/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp index d953afb4a8..16ba0957a4 100644 --- a/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp +++ b/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp @@ -9,7 +9,7 @@ bool UsbStorageDevice::operator==(const UsbStorageDevice& other) const // LOG->Trace( "Comparing %d %d %d %s %s to %d %d %d %s %s", // iBus, iPort, iLevel, sName.c_str(), sOsMountDir.c_str(), // other.iBus, other.iPort, other.iLevel, other.sName.c_str(), other.sOsMountDir.c_str() ); -#define COMPARE(x) if( x != other.x ) return false; +#define COMPARE(x) if( x != other.x ) return false COMPARE( iBus ); COMPARE( iPort ); COMPARE( iLevel ); @@ -18,12 +18,14 @@ bool UsbStorageDevice::operator==(const UsbStorageDevice& other) const #undef COMPARE } +// What is this? +#if 0 void UsbStorageDevice::SetOsMountDir( const CString &s ) { sOsMountDir = s; FixSlashesInPlace( sOsMountDir ); } - +#endif MemoryCardDriver *MakeMemoryCardDriver() {