[Replicant] [libsamsung-ril] [PATCH v2 2/8] ss: ril_request_cancel_ussd: silence unused variable warnings

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Thu Aug 27 16:17:33 UTC 2020


Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 ss.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ss.c b/ss.c
index 5934f06..59e134f 100644
--- a/ss.c
+++ b/ss.c
@@ -214,7 +214,9 @@ complete:
 	return rc;
 }
 
-int ril_request_cancel_ussd(void *data, size_t size, RIL_Token token)
+int ril_request_cancel_ussd(__attribute__((unused)) void *data,
+			    __attribute__((unused)) size_t size,
+			    RIL_Token token)
 {
 	struct ipc_ss_ussd_header ussd;
 	int rc;
-- 
2.28.0



More information about the Replicant mailing list