aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-01-23 22:20:15 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-01-23 22:20:15 +0000
commit4e7f5c2e8ff8d59627fc328ebce5566165f1b7e8 (patch)
treefde07395efc174406f95d914a07c2d4f82140fcf
parentbb98263aa4f10258e01e0edf68846965242d0bd4 (diff)
Initialize 'protocol' to something, at least until it can be properly assigned in the IPv6 and default cases.
svn path=/trunk/; revision=40675
-rw-r--r--epan/dissectors/packet-rohc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rohc.c b/epan/dissectors/packet-rohc.c
index 012d8fff16..43a5a2fa29 100644
--- a/epan/dissectors/packet-rohc.c
+++ b/epan/dissectors/packet-rohc.c
@@ -1016,7 +1016,8 @@ dissect_rohc_ir_rtp_udp_profile_static(tvbuff_t *tvb, proto_tree *tree, packet_i
proto_item *item, *ipv4_item, *udp_item, *rtp_item;
proto_tree *sub_tree=NULL, *static_ipv4_tree, *static_udp_tree, *static_rtp_tree;
- guint8 version, protocol;
+ guint8 version;
+ guint8 protocol = 0; /* Something that's not UDP */
int start_offset, tree_start_offset;
start_offset = offset;