aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/file.c b/file.c
index f5e39f6581..c30839e9bc 100644
--- a/file.c
+++ b/file.c
@@ -1187,7 +1187,7 @@ read_packet(capture_file *cf, dfilter_t *dfcode, epan_dissect_t *edt,
frame_data fdlocal;
guint32 framenum;
frame_data *fdata;
- gboolean passed;
+ gboolean passed = TRUE;
int row = -1;
/* Add this packet's link-layer encapsulation type to cf->linktypes, if
@@ -1204,7 +1204,6 @@ read_packet(capture_file *cf, dfilter_t *dfcode, epan_dissect_t *edt,
frame_data_init(&fdlocal, framenum, phdr, offset, cf->cum_bytes);
- passed = TRUE;
if (cf->rfcode) {
epan_dissect_t rf_edt;