aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ip.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-05-02 17:02:11 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-05-02 17:02:11 +0000
commit3c51d54e83029f08fc9cb68cea2fddec8f23d944 (patch)
treeadebdbd399de0c373422c40f0465cef3985cd279 /epan/dissectors/packet-ip.c
parente87ddd657c0dcb08da204da55e141f7fc74340bd (diff)
Fix:
packet-ip.c:1311: warning: 'field_tree' may be used uninitialized in this function svn path=/trunk/; revision=32635
Diffstat (limited to 'epan/dissectors/packet-ip.c')
-rw-r--r--epan/dissectors/packet-ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c
index 5b4b64ab64..4aa60f9e1b 100644
--- a/epan/dissectors/packet-ip.c
+++ b/epan/dissectors/packet-ip.c
@@ -1308,7 +1308,7 @@ guint16 ip_checksum(const guint8 *ptr, int len)
static void
dissect_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
{
- proto_tree *ip_tree = NULL, *field_tree;
+ proto_tree *ip_tree = NULL, *field_tree= NULL;
proto_item *ti = NULL, *tf;
guint32 addr;
int offset = 0;