Fix unused parameters warnings (#71400)

This commit is contained in:
Benjamin Dauvergne 2022-11-16 17:22:07 +01:00
parent 72b778e47e
commit d10c0f6693
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}