]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove more UNUSED markers
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 5 Dec 2016 03:28:39 +0000 (22:28 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 5 Dec 2016 03:28:39 +0000 (22:28 -0500)
src/main/unit_test_module.c
src/modules/rlm_json/rlm_json.c

index aa90c3b1dfb8d347a790b7ddac4744ea4b4fbf13..11724d1977f84f4ac436deff249bd9ee4f1aaeb2 100644 (file)
@@ -664,7 +664,7 @@ static bool do_xlats(char const *filename, FILE *fp)
  *     Verify the result of the map.
  */
 static int map_proc_verify(CONF_SECTION *cs, UNUSED void *mod_inst, UNUSED void *proc_inst,
-                          UNUSED vp_tmpl_t const *src, UNUSED vp_map_t const *maps)
+                          vp_tmpl_t const *src, UNUSED vp_map_t const *maps)
 {
        if (!src) {
                cf_log_err_cs(cs, "Missing source");
index 752145bb32597a75b4422c56b001b542ac293299..a6ba8a77d24141855e08197ebf3dbc582cb78310 100644 (file)
@@ -116,12 +116,12 @@ static ssize_t jpath_validate_xlat(UNUSED TALLOC_CTX *ctx, char **out, size_t ou
  *     - -1 on failure.
  */
 static int mod_map_proc_instantiate(CONF_SECTION *cs, UNUSED void *mod_inst, void *proc_inst,
-                                   UNUSED vp_tmpl_t const *src, vp_map_t const *maps)
+                                   vp_tmpl_t const *src, vp_map_t const *maps)
 {
        rlm_json_jpath_cache_t  *cache_inst = proc_inst;
        vp_map_t const          *map;
        ssize_t                 slen;
-       rlm_json_jpath_cache_t   *cache = cache_inst, **tail = &cache->next;
+       rlm_json_jpath_cache_t  *cache = cache_inst, **tail = &cache->next;
 
        if (!src) {
                cf_log_err_cs(cs, "Missing JSON source");