From 7cc6fec6d9a51040a1e021084b89cdb1f6cb282b Mon Sep 17 00:00:00 2001 From: etxrab Date: Thu, 10 Nov 2011 20:38:07 +0000 Subject: packet-sip.c:1442: warning: 'c' may be used uninitialized in this function git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39783 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-sip.c') diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c index ee634d4c4e..177c4b27df 100644 --- a/epan/dissectors/packet-sip.c +++ b/epan/dissectors/packet-sip.c @@ -1439,7 +1439,7 @@ dissect_sip_authorization_item(tvbuff_t *tvb, proto_tree *tree, gint start_offse gchar *name; header_parameter_t *auth_parameter; guint i = 0; - gchar c; + gchar c = '\0'; /* skip Spaces and Tabs */ start_offset = tvb_skip_wsp(tvb, start_offset, line_end_offset - start_offset); -- cgit v1.2.3