1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-04 23:14:47 -04:00

Fix compiler warnings

This commit is contained in:
srcejon
2023-09-04 13:25:25 +01:00
parent 2f5f2672d0
commit c947ef0c23
3 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -420,10 +420,9 @@ void RttyModSource::encodeText(const QString& text)
{
unsigned bits;
unsigned bitCount;
bool error;
error = m_rttyEncoder.encode(s[i], bits, bitCount);
for (int j = 0; j < bitCount; j++)
m_rttyEncoder.encode(s[i], bits, bitCount);
for (unsigned int j = 0; j < bitCount; j++)
{
int txBit = (bits >> j) & 1;
addBit(txBit);