]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
initialize variable
authorAlan T. DeKok <aland@freeradius.org>
Thu, 30 Apr 2020 11:12:12 +0000 (07:12 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 30 Apr 2020 11:12:12 +0000 (07:12 -0400)
src/lib/server/map.c

index fac9e67a1557dbac4768f41fd079881b7a469328..fdd68d93eca948ab5277e6d5a1da7a47106ec5cd 100644 (file)
@@ -900,7 +900,7 @@ static int map_exec_to_vp(TALLOC_CTX *ctx, VALUE_PAIR **out, REQUEST *request, v
 static VALUE_PAIR *fr_pair_list_afrom_box(TALLOC_CTX *ctx, REQUEST *request, fr_value_box_t *box)
 {
        int comma = 0;
-       char *p, *end, *last_comma;
+       char *p, *end, *last_comma = 0;
        VALUE_PAIR *vps;
 
        fr_assert(box->type == FR_TYPE_STRING);