mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
Corrected clang warnings
This commit is contained in:
parent
7c8efb046c
commit
ee947f54e9
@ -297,7 +297,7 @@ void BFMDemodGUI::on_g14ProgServiceNames_currentIndexChanged(int index)
|
||||
RDSParser::freqs_set_t::iterator sIt = (mIt->second).begin();
|
||||
const RDSParser::freqs_set_t::iterator sItEnd = (mIt->second).end();
|
||||
|
||||
for (sIt; sIt != sItEnd; ++sIt)
|
||||
for (; sIt != sItEnd; ++sIt)
|
||||
{
|
||||
std::ostringstream os;
|
||||
os << std::fixed << std::showpoint << std::setprecision(2) << *sIt;
|
||||
@ -315,7 +315,7 @@ void BFMDemodGUI::on_g14ProgServiceNames_currentIndexChanged(int index)
|
||||
RDSParser::freqs_set_t::iterator sIt = (mIt->second).begin();
|
||||
const RDSParser::freqs_set_t::iterator sItEnd = (mIt->second).end();
|
||||
|
||||
for (sIt; sIt != sItEnd; ++sIt)
|
||||
for (; sIt != sItEnd; ++sIt)
|
||||
{
|
||||
std::ostringstream os;
|
||||
os << std::fixed << std::showpoint << std::setprecision(2) << *sIt;
|
||||
@ -753,7 +753,7 @@ void BFMDemodGUI::rdsUpdate(bool force)
|
||||
const RDSParser::psns_map_t::iterator itEnd = m_rdsParser.m_g14_program_service_names.end();
|
||||
int i = 0;
|
||||
|
||||
for (it; it != itEnd; ++it, i++)
|
||||
for (; it != itEnd; ++it, i++)
|
||||
{
|
||||
m_g14ComboIndex.push_back(it->first);
|
||||
QString pistring(str(boost::format("%04X:%s") % it->first % it->second).c_str());
|
||||
|
@ -277,6 +277,8 @@ bool TCPSrc::handleMessage(const Message& cmd)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void TCPSrc::closeAllSockets(Sockets* sockets)
|
||||
|
@ -543,8 +543,8 @@ protected:
|
||||
iAcc += ((qint32)m_samples[a][0] + 1) << (HBFIRFilterTraits<HBFilterOrder>::hbShift - 1);
|
||||
qAcc += ((qint32)m_samples[a][1] + 1) << (HBFIRFilterTraits<HBFilterOrder>::hbShift - 1);
|
||||
|
||||
sample->setReal(iAcc >> HBFIRFilterTraits<HBFilterOrder>::hbShift -1);
|
||||
sample->setImag(qAcc >> HBFIRFilterTraits<HBFilterOrder>::hbShift -1);
|
||||
sample->setReal(iAcc >> (HBFIRFilterTraits<HBFilterOrder>::hbShift -1));
|
||||
sample->setImag(qAcc >> (HBFIRFilterTraits<HBFilterOrder>::hbShift -1));
|
||||
}
|
||||
|
||||
void doFIR(qint32 *x, qint32 *y)
|
||||
|
@ -447,8 +447,8 @@ protected:
|
||||
iAcc += ((qint32)m_samplesDB[b-1][0]) << (HBFIRFilterTraits<HBFilterOrder>::hbShift - 1);
|
||||
qAcc += ((qint32)m_samplesDB[b-1][1]) << (HBFIRFilterTraits<HBFilterOrder>::hbShift - 1);
|
||||
|
||||
sample->setReal(iAcc >> HBFIRFilterTraits<HBFilterOrder>::hbShift -1);
|
||||
sample->setImag(qAcc >> HBFIRFilterTraits<HBFilterOrder>::hbShift -1);
|
||||
sample->setReal(iAcc >> (HBFIRFilterTraits<HBFilterOrder>::hbShift -1));
|
||||
sample->setImag(qAcc >> (HBFIRFilterTraits<HBFilterOrder>::hbShift -1));
|
||||
}
|
||||
|
||||
void doFIR(qint32 *x, qint32 *y)
|
||||
|
Loading…
Reference in New Issue
Block a user