fbzero: fix build

packet-fbzero.c:348:47: error: ‘tag_len’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

Change-Id: I775edcae2bfdc6184267ee8d1873744a675e0fba
This commit is contained in:
Joakim Karlsson A 2020-10-15 11:46:30 +02:00 committed by AndersBroman
parent b3099a839f
commit ddd58fbead
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ static guint32
dissect_fb_zero_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *fb_zero_tree, guint offset, guint32 tag_number){
guint32 tag_offset_start = offset + tag_number*4*2;
guint32 tag_offset = 0, total_tag_len = 0;
gint32 tag_len;
gint32 tag_len = 0;
gboolean tag_offset_valid = TRUE;
while(tag_number){