aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-batadv.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2023-12-06 09:58:05 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2023-12-06 13:07:05 +0000
commitb14d9c963c439efd21d9930dd1e85cb396b9a699 (patch)
tree3148259dba4ebde1976ab13ca00b12d1ace5d21d /epan/dissectors/packet-batadv.c
parent3644aa86a4dac11cd2eb2b9028d1e004c801c857 (diff)
Remove init of tap variables
A tap_id is never 0, so initializing tap variables to -1 is not necessary.
Diffstat (limited to 'epan/dissectors/packet-batadv.c')
-rw-r--r--epan/dissectors/packet-batadv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-batadv.c b/epan/dissectors/packet-batadv.c
index 6fee5dfda9..a04685ba81 100644
--- a/epan/dissectors/packet-batadv.c
+++ b/epan/dissectors/packet-batadv.c
@@ -908,8 +908,8 @@ static dissector_handle_t eth_handle;
static int proto_batadv_plugin;
/* tap */
-static int batadv_tap = -1;
-static int batadv_follow_tap = -1;
+static int batadv_tap;
+static int batadv_follow_tap;
/* segmented messages */
static reassembly_table msg_reassembly_table;