Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
reported by coverity scan

Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje authored and mtrojnar committed Mar 5, 2024
1 parent 23bfd2e commit 20f679f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/eng_back.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,14 +499,8 @@ static void *ctx_try_load_object(ENGINE_CTX *ctx,

if (matched_count == 0) {
if (match_tok) {
if (found_slot) {
ctx_log(ctx, 0, "The %s was not found on token %s\n",
object_typestr, found_slot->token->label[0] ?
found_slot->token->label : "no label");
} else {
ctx_log(ctx, 0, "No matching initialized token was found for %s\n",
object_typestr);
}
ctx_log(ctx, 0, "No matching initialized token was found for %s\n",
object_typestr);
goto error;
}

Expand Down

0 comments on commit 20f679f

Please sign in to comment.