since the Cache dir is no longer part of CVS, we don't need to be careful about deleting files from it.

This commit is contained in:
Thad Ward
2003-09-14 20:22:32 +00:00
parent 582fdac693
commit 9e52a02496
-8
View File
@@ -32,15 +32,7 @@ static void EmptyDir( CString dir )
CStringArray asCacheFileNames;
GetDirListing( dir, asCacheFileNames );
for( unsigned i=0; i<asCacheFileNames.size(); i++ )
{
if (0 == stricmp( asCacheFileNames[i], ".cvsignore" )) // don't delete .cvsignore files
continue;
if (0 == stricmp( asCacheFileNames[i], "instructions.txt" )) // don't delete the instructions file.
continue;
remove( dir + asCacheFileNames[i] );
}
}
void SongCacheIndex::ReadCacheIndex()