From bad8b25ce7456d9fac750c229ca205443467b965 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Thu, 5 Jul 2018 21:30:33 +0200 Subject: [PATCH] Fix warning of unused parameter --- .../adapters/galileo_e1_pcps_8ms_ambiguous_acquisition.h | 2 +- .../acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h | 2 +- .../acquisition/adapters/gps_l1_ca_pcps_opencl_acquisition.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/algorithms/acquisition/adapters/galileo_e1_pcps_8ms_ambiguous_acquisition.h b/src/algorithms/acquisition/adapters/galileo_e1_pcps_8ms_ambiguous_acquisition.h index 83917420c..5658aa06c 100644 --- a/src/algorithms/acquisition/adapters/galileo_e1_pcps_8ms_ambiguous_acquisition.h +++ b/src/algorithms/acquisition/adapters/galileo_e1_pcps_8ms_ambiguous_acquisition.h @@ -122,7 +122,7 @@ public: * \brief Restart acquisition algorithm */ void reset() override; - void set_state(int state) override{}; + void set_state(int state __attribute__((unused))) override{}; private: ConfigurationInterface* configuration_; diff --git a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h index 0cdfd3077..83218aac4 100644 --- a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h +++ b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h @@ -120,7 +120,7 @@ public: * \brief Restart acquisition algorithm */ void reset() override; - void set_state(int state) override{}; + void set_state(int state __attribute__((unused))) override{}; private: pcps_assisted_acquisition_cc_sptr acquisition_cc_; diff --git a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_opencl_acquisition.h b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_opencl_acquisition.h index 900b65ed3..7d3e7b58e 100644 --- a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_opencl_acquisition.h +++ b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_opencl_acquisition.h @@ -122,7 +122,7 @@ public: * \brief Restart acquisition algorithm */ void reset() override; - void set_state(int state) override{}; + void set_state(int state __attribute__((unused))) override{}; private: ConfigurationInterface* configuration_;