removed unused variables

This commit is contained in:
GullCode 2021-01-27 15:45:04 +01:00
parent 19ebf14e8c
commit 1483160df4

View File

@ -88,11 +88,9 @@ void TvCollector::post_message(const buffer_c16_t& data) {
// Called from baseband processing thread.
float re, im;
float mag;
float max;
if( streaming && !channel_spectrum_request_update ) {
for(size_t i=0; i<256; i++)
{
const auto s = data.p[i];
re = (float)(data.p[i].real());
im = (float)(data.p[i].imag());
mag = __builtin_sqrtf((re * re) + (im * im)) ;