aboutsummaryrefslogtreecommitdiff
path: root/gencode.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-06-04 15:11:46 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-06-04 15:28:04 +0200
commit4823885f09baf68d837f6a7d984ebf058afd3dc5 (patch)
tree8787af6d1f24373b901c9991e0f8e1f3b16b98c6 /gencode.c
parentf09a9bd28fb99c45f077474eac283227b97ed4dd (diff)
gencode: Remove an assignment after a bpf_error() call
Reminder: bpf_error() do a longjmp(). This change should fix Coverity CID 1529951.
Diffstat (limited to 'gencode.c')
-rw-r--r--gencode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gencode.c b/gencode.c
index eec3fefa..caa06f99 100644
--- a/gencode.c
+++ b/gencode.c
@@ -8551,7 +8551,6 @@ gen_ifindex(compiler_state_t *cstate, int ifindex)
/* We have a FILE *, so this is a savefile */
bpf_error(cstate, "ifindex not supported on %s when reading savefiles",
pcap_datalink_val_to_description_or_dlt(cstate->linktype));
- b0 = NULL;
/*NOTREACHED*/
}
/* match ifindex */