From 3ca37089ca722ed46f4b3008448a8141c591b3ea Mon Sep 17 00:00:00 2001 From: Bart Trzynadlowski Date: Wed, 27 Sep 2017 13:20:09 +0000 Subject: [PATCH] Get rid of unused variable warning --- Src/Model3/JTAG.cpp | 2 +- Src/Model3/JTAG.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Src/Model3/JTAG.cpp b/Src/Model3/JTAG.cpp index c7fa9a2..3f3b983 100644 --- a/Src/Model3/JTAG.cpp +++ b/Src/Model3/JTAG.cpp @@ -56,7 +56,7 @@ const CJTAG::State CJTAG::s_fsm[][2] = { RunTestIdle, SelectDRScan } // 15 Update-IR }; -static const char *s_state[] = +const char *CJTAG::s_state[] = { "Test-Logic/Reset", "Run-Test/Idle", diff --git a/Src/Model3/JTAG.h b/Src/Model3/JTAG.h index 44d6adf..99bb636 100644 --- a/Src/Model3/JTAG.h +++ b/Src/Model3/JTAG.h @@ -73,6 +73,7 @@ private: }; static const State s_fsm[][2]; + static const char *s_state[]; CReal3D &m_real3D; Util::BitRegister m_instructionShiftReg;