]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
quit coverity. Fixes CID #1516908
authorAlan T. DeKok <aland@freeradius.org>
Tue, 15 Nov 2022 20:45:43 +0000 (15:45 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 17 Nov 2022 12:34:50 +0000 (07:34 -0500)
src/lib/unlang/compile.c

index 989c6904a38d10718cd05da90b833734857437f5..3e9b94c169fbb6404a6ba613590e6bad0f2965f7 100644 (file)
@@ -4397,9 +4397,8 @@ static unlang_t *compile_item(unlang_t *parent, unlang_compile_t *unlang_ctx, CO
                        if (!op->thread_inst_size) return c;
 
                        if (!fr_rb_insert(unlang_instruction_tree, c)) {
-                               unlang_t *ex = fr_rb_find(unlang_instruction_tree, c);
-                               cf_log_err(ci, "Instruction \"%s\" number %i conflicts with \"%s\" number %i",
-                                          c->debug_name, c->number, ex->debug_name, ex->number);
+                               cf_log_err(ci, "Instruction \"%s\" number %i has conflict with previous one.",
+                                          c->debug_name, c->number);
                                talloc_free(c);
                                return NULL;
                        }