Browse Source

demodbfm/bfmdemodgui: Remove unused RDS program service index

Remove the unused loop index from rdsUpdate() since it was incremented
but never referenced.

This eliminates the -Wunused-but-set-variable compiler warning.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 3 months ago
parent
commit
6b4645db69
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 3
      plugins/channelrx/demodbfm/bfmdemodgui.cpp

3
plugins/channelrx/demodbfm/bfmdemodgui.cpp

@ -867,9 +867,8 @@ void BFMDemodGUI::rdsUpdate(bool force) @@ -867,9 +867,8 @@ void BFMDemodGUI::rdsUpdate(bool force)
RDSParser::psns_map_t::iterator it = m_bfmDemod->getRDSParser()->m_g14_program_service_names.begin();
const RDSParser::psns_map_t::iterator itEnd = m_bfmDemod->getRDSParser()->m_g14_program_service_names.end();
int i = 0;
for (; it != itEnd; ++it, i++)
for (; it != itEnd; ++it)
{
m_g14ComboIndex.push_back(it->first);
QString pistring(str(boost::format("%04X:%s") % it->first % it->second).c_str());

Loading…
Cancel
Save