diff --git a/UI/CwCheatScreen.cpp b/UI/CwCheatScreen.cpp index 1eadd78ec7..328f2bcdde 100644 --- a/UI/CwCheatScreen.cpp +++ b/UI/CwCheatScreen.cpp @@ -146,8 +146,6 @@ UI::EventReturn CwCheatScreen::OnAddCheat(UI::EventParams ¶ms) { UI::EventReturn CwCheatScreen::OnEditCheatFile(UI::EventParams ¶ms) { std::string cheatFile; - std::fstream fs; - fs.close(); g_Config.bReloadCheats = true; g_Config.Save(); if (MIPSComp::jit) {