From: Alan T. DeKok Date: Wed, 31 Jul 2019 18:46:03 +0000 (-0400) Subject: remove unused variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=003df6e54bc98696ee2f0d0ba2a8f48ac5dff58e;p=thirdparty%2Ffreeradius-server.git remove unused variable --- diff --git a/src/lib/server/map.c b/src/lib/server/map.c index 5c66bc5eba1..b6cf778b8a9 100644 --- a/src/lib/server/map.c +++ b/src/lib/server/map.c @@ -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));