mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-03 14:34:57 -04:00
Fixed -Wunused-parameter warnings
This commit is contained in:
@@ -38,14 +38,17 @@ std::complex<float> s2cNorm(const Sample& s)
|
||||
}
|
||||
|
||||
Sample sFirst(const Sample& a, const Sample& b) {
|
||||
(void) b;
|
||||
return a;
|
||||
}
|
||||
|
||||
Sample sSecond(const Sample& a, const Sample& b) {
|
||||
(void) a;
|
||||
return b;
|
||||
}
|
||||
|
||||
Sample sSecondInv(const Sample& a, const Sample& b) {
|
||||
(void) a;
|
||||
return Sample{-b.real(), -b.imag()};
|
||||
}
|
||||
|
||||
@@ -719,4 +722,4 @@ void InterferometerCorrelator::setPhase(int phase)
|
||||
m_sin = d_sin;
|
||||
m_cos = d_cos;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user