From 8c3a7c58113a27bc56d4b49c56538ecc27418cfd Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Tue, 17 Jan 2006 22:07:40 +0000 Subject: [PATCH] =?utf8?q?added=20curly=20brackets=20to=20fix=20"jump=20to?= =?utf8?q?=20case=20label=20crosses=20initialization=20of=20=C3=A2=C2=80?= =?utf8?q?=C2=98int=20voltage=C3=A2=C2=80=C2=99"?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/dvb/frontend.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp index b4a870f..a4a94a2 100644 --- a/lib/dvb/frontend.cpp +++ b/lib/dvb/frontend.cpp @@ -520,10 +520,12 @@ void eDVBFrontend::tuneLoop() // called by m_tuneTimer ++m_sec_sequence.current(); break; case eSecCommand::SET_VOLTAGE: + { int voltage = m_sec_sequence.current()++->voltage; eDebug("[SEC] setVoltage %d", voltage); setVoltage(voltage); break; + } case eSecCommand::SET_TONE: eDebug("[SEC] setTone %d", m_sec_sequence.current()->tone); setTone(m_sec_sequence.current()++->tone); -- 2.7.4