From 8ab9cea3f72db5dabd557b525e44f78dabf16638 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Mon, 2 Nov 2015 07:54:24 +0100 Subject: [PATCH] pcsx2: comment set but unused variable --- pcsx2/gui/MainFrame.cpp | 4 ++-- pcsx2/x86/microVU_Flags.inl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pcsx2/gui/MainFrame.cpp b/pcsx2/gui/MainFrame.cpp index 2fff6a6a1c..ff8ee1e855 100644 --- a/pcsx2/gui/MainFrame.cpp +++ b/pcsx2/gui/MainFrame.cpp @@ -109,12 +109,12 @@ void MainEmuFrame::OnCloseWindow(wxCloseEvent& evt) CoreThread.Suspend(); - bool isClosing = false; + //bool isClosing = false; if( !evt.CanVeto() ) { // Mandatory destruction... - isClosing = true; + //isClosing = true; } else { diff --git a/pcsx2/x86/microVU_Flags.inl b/pcsx2/x86/microVU_Flags.inl index f94dc636ce..2ca7e0a73d 100644 --- a/pcsx2/x86/microVU_Flags.inl +++ b/pcsx2/x86/microVU_Flags.inl @@ -99,7 +99,7 @@ void sortFullFlag(int* fFlag, int* bFlag) { __fi void mVUsetFlags(mV, microFlagCycles& mFC) { int endPC = iPC; u32 aCount = 0; // Amount of instructions needed to get valid mac flag instances for block linking - bool writeProtect = false; + //bool writeProtect = false; // Ensure last ~4+ instructions update mac/status flags (if next block's first 4 instructions will read them) for(int i = mVUcount; i > 0; i--, aCount++) { @@ -107,12 +107,12 @@ __fi void mVUsetFlags(mV, microFlagCycles& mFC) { if (__Mac) { mFLAG.doFlag = true; - writeProtect = true; + //writeProtect = true; } if (__Status) { sFLAG.doNonSticky = true; - writeProtect = true; + //writeProtect = true; } if (aCount >= 3){