aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-14 17:27:18 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-14 17:27:18 +0000
commitdeccb0e305412b4005ec447ab9f277b79b423b20 (patch)
treeb7817e2b8d30c78d3f7d886a81b7b3b37427a804 /epan/dissectors/packet-sip.c
parentc8b7b5724b148b4ad4a6cb944a20de760cf9fb3b (diff)
packet-sip.c:1412: warning: 'uri_param_end_offset' may be used uninitialized in this function
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39828 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r--epan/dissectors/packet-sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c
index 01d58780d7..8c7c9c61cc 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -1409,7 +1409,7 @@ display_sip_uri (tvbuff_t *tvb, proto_tree *sip_element_tree, uri_offset_info* u
gint current_offset = uri_offsets->uri_parameters_start;
gint uri_params_start_offset = current_offset;
gint queried_offset;
- gint uri_param_end_offset;
+ gint uri_param_end_offset = -1;
gchar c;
/* Put the contact parameters in the tree */