From 4059544efb31baa4951ad96e08f6e16e27472308 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Mon, 20 Jan 2025 02:24:22 -0500 Subject: [PATCH] !fixup "sm7325-common: gps: Fix __unused usages" Change-Id: Id06e61fac6fc351005f9e6b868e0162df91aa388 --- gps/core/ContextBase.h | 2 +- gps/core/LocApiBase.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gps/core/ContextBase.h b/gps/core/ContextBase.h index feb077d..59d04dc 100644 --- a/gps/core/ContextBase.h +++ b/gps/core/ContextBase.h @@ -195,7 +195,7 @@ public: } inline void sendMsg(const LocMsg *msg) { getMsgTask()->sendMsg(msg); } inline bool checkFeatureStatus(int* fids, - LocFeatureStatus* status, uint32_t idCount, bool directQwesCall = false __unused) const { + LocFeatureStatus* status, uint32_t idCount, bool __unused directQwesCall = false) const { return mLocApiProxy->checkFeatureStatus(fids, status, idCount, directQwesCall); } static loc_gps_cfg_s_type mGps_conf; diff --git a/gps/core/LocApiBase.h b/gps/core/LocApiBase.h index 30f1fe3..cec5efa 100644 --- a/gps/core/LocApiBase.h +++ b/gps/core/LocApiBase.h @@ -141,7 +141,7 @@ public: uint32_t center __unused, uint32_t right __unused, uint8_t gloFrequency __unused) { return 0.0; } inline virtual float getGeoidalSeparation(double latitude __unused, double longitude __unused) { return 0.0; } inline virtual bool checkFeatureStatus(int* fids __unused, LocFeatureStatus* status __unused, - uint32_t idCount __unused, bool directQwesCall = false __unused) {return false;} + uint32_t idCount __unused, bool __unused directQwesCall = false) {return false;} }; class LocApiBase {