From: Arran Cudbard-Bell Date: Mon, 1 Mar 2021 14:34:42 +0000 (+0000) Subject: Change scope of filename_tree to shutup clang analyzer Closes #3962 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=669bb069a6f54afe5af6636224fe89aec79c9d86;p=thirdparty%2Ffreeradius-server.git Change scope of filename_tree to shutup clang analyzer Closes #3962 --- diff --git a/src/bin/radclient.c b/src/bin/radclient.c index ad2e8594434..ab3a999fe74 100644 --- a/src/bin/radclient.c +++ b/src/bin/radclient.c @@ -73,7 +73,6 @@ static int last_used_id = -1; static int ipproto = IPPROTO_UDP; -static rbtree_t *filename_tree = NULL; static fr_packet_list_t *packet_list = NULL; static rc_request_t *request_head = NULL; @@ -1127,6 +1126,7 @@ int main(int argc, char **argv) rc_request_t *this; int force_af = AF_UNSPEC; TALLOC_CTX *autofree; + rbtree_t *filename_tree = NULL; /* * It's easier having two sets of flags to set the