1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 12:40:35 +00:00

Fix warning of unused private member

This commit is contained in:
Carles Fernandez 2018-06-03 22:47:05 +02:00
parent 88363482ef
commit 1538bcc7d7
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
6 changed files with 3 additions and 9 deletions

View File

@ -55,8 +55,7 @@ direct_resampler_conditioner_cb::direct_resampler_conditioner_cb(
d_sample_freq_out( d_sample_freq_out(
sample_freq_out), sample_freq_out),
d_phase(0), d_phase(0),
d_lphase(0), d_lphase(0)
d_history(1)
{ {
const double two_32 = 4294967296.0; const double two_32 = 4294967296.0;
// Computes the phase step multiplying the resampling ratio by 2^32 = 4294967296 // Computes the phase step multiplying the resampling ratio by 2^32 = 4294967296

View File

@ -59,7 +59,6 @@ private:
uint32_t d_phase; uint32_t d_phase;
uint32_t d_lphase; uint32_t d_lphase;
uint32_t d_phase_step; uint32_t d_phase_step;
unsigned int d_history;
direct_resampler_conditioner_cb(double sample_freq_in, direct_resampler_conditioner_cb(double sample_freq_in,
double sample_freq_out); double sample_freq_out);

View File

@ -54,8 +54,7 @@ direct_resampler_conditioner_cc::direct_resampler_conditioner_cc(
d_sample_freq_in(sample_freq_in), d_sample_freq_in(sample_freq_in),
d_sample_freq_out(sample_freq_out), d_sample_freq_out(sample_freq_out),
d_phase(0), d_phase(0),
d_lphase(0), d_lphase(0)
d_history(1)
{ {
// Computes the phase step multiplying the resampling ratio by 2^32 = 4294967296 // Computes the phase step multiplying the resampling ratio by 2^32 = 4294967296
const double two_32 = 4294967296.0; const double two_32 = 4294967296.0;

View File

@ -64,7 +64,6 @@ private:
uint32_t d_phase; uint32_t d_phase;
uint32_t d_lphase; uint32_t d_lphase;
uint32_t d_phase_step; uint32_t d_phase_step;
unsigned int d_history;
direct_resampler_conditioner_cc(double sample_freq_in, direct_resampler_conditioner_cc(double sample_freq_in,
double sample_freq_out); double sample_freq_out);

View File

@ -53,8 +53,7 @@ direct_resampler_conditioner_cs::direct_resampler_conditioner_cs(
d_sample_freq_in(sample_freq_in), d_sample_freq_in(sample_freq_in),
d_sample_freq_out(sample_freq_out), d_sample_freq_out(sample_freq_out),
d_phase(0), d_phase(0),
d_lphase(0), d_lphase(0)
d_history(1)
{ {
const double two_32 = 4294967296.0; const double two_32 = 4294967296.0;
// Computes the phase step multiplying the resampling ratio by 2^32 = 4294967296 // Computes the phase step multiplying the resampling ratio by 2^32 = 4294967296

View File

@ -59,7 +59,6 @@ private:
uint32_t d_phase; uint32_t d_phase;
uint32_t d_lphase; uint32_t d_lphase;
uint32_t d_phase_step; uint32_t d_phase_step;
unsigned int d_history;
direct_resampler_conditioner_cs(double sample_freq_in, direct_resampler_conditioner_cs(double sample_freq_in,
double sample_freq_out); double sample_freq_out);