From: Alan T. DeKok Date: Sat, 27 Jan 2024 20:58:22 +0000 (-0500) Subject: change scope of variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e205d573d8d7a3e14208668dc5d21429672c0d0;p=thirdparty%2Ffreeradius-server.git change scope of variable --- diff --git a/src/lib/util/dict_fixup.c b/src/lib/util/dict_fixup.c index 048e484e888..472aaa9dae5 100644 --- a/src/lib/util/dict_fixup.c +++ b/src/lib/util/dict_fixup.c @@ -230,6 +230,7 @@ static fr_dict_attr_t const *dict_find_or_load_reference(fr_dict_t **dict_def, c fr_dict_attr_t const *da; char const *name; ssize_t slen; + char protocol[64]; /* * Ref to attribute in existing dictionary. The dictionary MUST be loaded by $INCLUDEs. @@ -254,7 +255,6 @@ static fr_dict_attr_t const *dict_find_or_load_reference(fr_dict_t **dict_def, c if (slen <= 0) { char *p; char const *q; - char protocol[64]; /* * The filenames are lowercase. The names in the dictionaries are case-insensitive. So