]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unused variable
authorAlan T. DeKok <aland@freeradius.org>
Wed, 31 Jul 2019 18:46:03 +0000 (14:46 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 31 Jul 2019 18:46:03 +0000 (14:46 -0400)
src/lib/server/map.c

index 5c66bc5eba1ad30f1aa5677aaebf3274095054dd..b6cf778b8a94b03bfd8a2729566efb9d21861591 100644 (file)
@@ -1920,8 +1920,6 @@ int map_list_mod_apply(REQUEST *request, vp_list_mod_t const *vlm)
         */
        case T_OP_SUB:
        {
-               bool removed = false;
-
                /* We didn't find any attributes earlier */
                if (!found) goto finish;
 
@@ -1955,7 +1953,6 @@ int map_list_mod_apply(REQUEST *request, vp_list_mod_t const *vlm)
                        do {
                                if (fr_value_box_cmp(vb, &found->data) == 0) {
                                        fr_cursor_free_item(&list);
-                                       removed = true;
                                        break;
                                }
                        } while ((vb = vb->next));