Skip to content

Commit 5397db3

Browse files
committed
remove unused var
1 parent bc57570 commit 5397db3

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/FileSystem/FileSystem.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,6 @@ bool CFileSystem::parseSdp(const std::string& filename, std::list<FileData*>& fi
127127

128128
CFileSystem::~CFileSystem()
129129
{
130-
for (const std::string& file: tmpfiles) {
131-
removeFile(file.c_str());
132-
}
133-
tmpfiles.clear();
134130
}
135131

136132
bool CFileSystem::setWritePath(const std::string& path)

src/FileSystem/FileSystem.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ class CFileSystem
126126
static std::string DirName(const std::string& path);
127127
private:
128128
bool portableDownload;
129-
std::list<std::string> tmpfiles;
130129
std::list<FileData> mods;
131130
bool parse_repository_line(char* str, SRepository* repository, int size);
132131
std::string springdir;

0 commit comments

Comments
 (0)