diff --git a/src/sc_man.cpp b/src/sc_man.cpp index 277604d68..b78b7a305 100644 --- a/src/sc_man.cpp +++ b/src/sc_man.cpp @@ -248,7 +248,7 @@ bool FScanner::OpenFile (const char *name) { Close (); - FileReader fr(name); + FileReader fr; if (!fr.Open(name)) return false; auto filesize = fr.GetLength(); auto filebuf = new uint8_t[filesize];