diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2006-01-17 22:07:40 +0000 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2006-01-17 22:07:40 +0000 |
| commit | 8c3a7c58113a27bc56d4b49c56538ecc27418cfd (patch) | |
| tree | 359cb5fd7b72ad3e5b29003dfbaf9aca08278d98 /lib/dvb/frontend.cpp | |
| parent | b797cf58e3f0973d4e8cb24f4fd24a0c0d254fe5 (diff) | |
| download | enigma2-8c3a7c58113a27bc56d4b49c56538ecc27418cfd.tar.gz enigma2-8c3a7c58113a27bc56d4b49c56538ecc27418cfd.zip | |
added curly brackets to fix "jump to case label crosses initialization of âint voltageâ"
Diffstat (limited to 'lib/dvb/frontend.cpp')
| -rw-r--r-- | lib/dvb/frontend.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp index b4a870fb..a4a94a21 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); |
