From 9d09de5b936a609f26968dc28f39d40c7aa9564d Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 16 Nov 2022 17:22:07 +0100 Subject: [PATCH 6/6] Fix unused parameters warnings (#71313) --- lasso/lasso.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lasso/lasso.c b/lasso/lasso.c index d4d1ab44..9902512f 100644 --- a/lasso/lasso.c +++ b/lasso/lasso.c @@ -440,18 +440,18 @@ static void lasso_flag_parse_environment_variable() { } /* Deprecated functions, kept only to maintain the ABI and the SONAME */ -void lasso_register_dst_service(const char *prefix, const char *href) +void lasso_register_dst_service(G_GNUC_UNUSED const char *prefix, G_GNUC_UNUSED const char *href) { } -char* lasso_get_prefix_for_dst_service_href(const char *href) +char* lasso_get_prefix_for_dst_service_href(G_GNUC_UNUSED const char *href) { return NULL; } -void lasso_register_idwsf2_dst_service(const gchar *prefix, const gchar *href) +void lasso_register_idwsf2_dst_service(G_GNUC_UNUSED const gchar *prefix, G_GNUC_UNUSED const gchar *href) { } -gchar* lasso_get_prefix_for_idwsf2_dst_service_href(const gchar *href) +gchar* lasso_get_prefix_for_idwsf2_dst_service_href(G_GNUC_UNUSED const gchar *href) { return NULL; } -- 2.37.2