summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-bgp.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-08-01 22:13:24 -0400
committerEvan Huus <eapache@gmail.com>2014-08-02 02:14:12 +0000
commitfade4b4d97bdaaf4b5dba1da11d227d96df5fd66 (patch)
treebe5233d1211dacaf43e122c6c13721fcc4b8097a /epan/dissectors/packet-bgp.c
parent005fd7eefd615ce0456f9d8d720da7af8010aba6 (diff)
downloadwireshark-fade4b4d97bdaaf4b5dba1da11d227d96df5fd66.tar.gz
Fix another (valid) complaint from the mac buildbot
What mystical new compiler upgrade is this? Change-Id: I89b3bfb53b9a19bbfb1cc8339d38cdc4a4652c62 Reviewed-on: https://code.wireshark.org/review/3347 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-bgp.c')
-rw-r--r--epan/dissectors/packet-bgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c
index 8f51b15a7d..8d7b7c6b4a 100644
--- a/epan/dissectors/packet-bgp.c
+++ b/epan/dissectors/packet-bgp.c
@@ -2244,7 +2244,7 @@ decode_flowspec_nlri(proto_tree *tree, tvbuff_t *tvb, gint offset, guint16 afi,
guint tot_flow_len; /* total length of the flow spec NLRI */
guint offset_len; /* offset of the flow spec NLRI itself could be 1 or 2 bytes */
guint cursor_fspec; /* cursor to move into flow spec nlri */
- gint filter_len;
+ gint filter_len = -1;
guint16 len_16;
proto_item *item;
proto_item *filter_item;