Correct cleaning string and remove unused vars

This commit is contained in:
lainon
2022-09-30 12:26:30 +03:00
parent 89dab444c4
commit fec708489a
32 changed files with 38 additions and 48 deletions

View File

@@ -81,7 +81,6 @@ void VirtualDiscFileSystem::LoadFileListIndex() {
return;
}
std::string buf;
static const int MAX_LINE_SIZE = 2048;
char linebuf[MAX_LINE_SIZE]{};
while (fgets(linebuf, MAX_LINE_SIZE, f)) {