From: Alan T. DeKok Date: Sat, 18 Sep 2021 19:43:14 +0000 (-0400) Subject: no need to check for 'ref==NULL' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0142fc604952f1a408c2d10a42be9ffec75d6f18;p=thirdparty%2Ffreeradius-server.git no need to check for 'ref==NULL' --- diff --git a/src/lib/util/dict_tokenize.c b/src/lib/util/dict_tokenize.c index c0ff6309662..76a11cf6846 100644 --- a/src/lib/util/dict_tokenize.c +++ b/src/lib/util/dict_tokenize.c @@ -289,7 +289,7 @@ static int dict_process_flag_field(dict_tokenize_ctx_t *ctx, char *name, fr_type { char *p, *next = NULL; - if (ref) *ref = NULL; + *ref = NULL; /* * Set these as default, so that we can set one (or both) separately as flags.