From: James Jones Date: Wed, 3 Aug 2022 13:44:45 +0000 (-0500) Subject: Correct position and spelling of annotation (CID #1504462) (#4647) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ec68611b54b38d3079d66ee00d8b8bdb6acc85d;p=thirdparty%2Ffreeradius-server.git Correct position and spelling of annotation (CID #1504462) (#4647) --- diff --git a/src/lib/unlang/xlat_purify.c b/src/lib/unlang/xlat_purify.c index aa8d194eccd..077802a328a 100644 --- a/src/lib/unlang/xlat_purify.c +++ b/src/lib/unlang/xlat_purify.c @@ -152,13 +152,14 @@ int xlat_purify_list(xlat_exp_head_t *head, request_t *request) */ success = false; (void) unlang_interpret_synchronous(NULL, request); - /* coverity[deadcode] */ + if (!success) return -1; /* * The function call becomes a GROUP of boxes. We just re-use the argument head, * which is already of the type we need. */ + /* coverity[dead_error_begin] */ group = node->call.args; fr_dlist_talloc_free(&group->dlist);