Skip to content

Commit

Permalink
Fix a warning
Browse files Browse the repository at this point in the history
The warning was:
./gencode.c:8313:17: warning: code will never be executed
[-Wunreachable-code]
  • Loading branch information
fxlb committed Apr 30, 2019
1 parent c82fb69 commit d00d99d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gencode.c
Original file line number Diff line number Diff line change
Expand Up @@ -8310,7 +8310,6 @@ gen_inbound(compiler_state_t *cstate, int dir)
/* We have a FILE *, so this is a savefile */
bpf_error(cstate, "inbound/outbound not supported on %s when reading savefiles",
pcap_datalink_val_to_description_or_dlt(cstate->linktype));
b0 = NULL;
/*NOTREACHED*/
}
/* match outgoing packets */
Expand Down

0 comments on commit d00d99d

Please sign in to comment.