]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Build warning fix
authorJiayu Hu <jhu@networkradius.com>
Mon, 3 Jun 2024 18:06:12 +0000 (14:06 -0400)
committerAlan DeKok <aland@freeradius.org>
Mon, 3 Jun 2024 20:16:49 +0000 (16:16 -0400)
src/lib/curl/xlat.c

index 99fcba1fbc2de4196c4eac9f1e08ecacfc144447..0812d2e0ac5d29080fd066d628bfd81ce7dd4a06 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "base.h"
 
-int fr_curl_xlat_refs = 0;
+// static int fr_curl_xlat_refs = 0;
 
 xlat_arg_parser_t const fr_curl_xlat_uri_args[] = {
        { .required = true, .concat = true, .type = FR_TYPE_STRING },
@@ -44,7 +44,7 @@ xlat_arg_parser_t const fr_curl_xlat_safe_args[] = {
 /** xlat function to escape URI encoded strings
  *
  */
-xlat_action_t fr_curl_xlat_uri_escape(UNUSED TALLOC_CTX *ctx, UNUSED fr_dcursor_t *out,
+xlat_action_t fr_curl_xlat_uri_escape(UNUSED TALLOC_CTX *ctx, fr_dcursor_t *out,
                                      UNUSED xlat_ctx_t const *xctx, UNUSED request_t *request,
                                      fr_value_box_list_t *in)
 {
@@ -74,7 +74,7 @@ done:
 /** xlat function to unescape URI encoded strings
  *
  */
-xlat_action_t fr_curl_xlat_uri_unescape(UNUSED TALLOC_CTX *ctx, UNUSED fr_dcursor_t *out,
+xlat_action_t fr_curl_xlat_uri_unescape(UNUSED TALLOC_CTX *ctx, fr_dcursor_t *out,
                                        UNUSED xlat_ctx_t const *xctx, UNUSED request_t *request,
                                        fr_value_box_list_t *in)
 {