Fixed a warning: 'j' may be used uninitialized in this function.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 6 Sep 2007 22:26:09 +0000 (22:26 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 6 Sep 2007 22:26:09 +0000 (22:26 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22815 f5534014-38df-0310-8fa8-9805f1628bb7

asn1/ansi_map/packet-ansi_map-template.c
epan/dissectors/packet-ansi_map.c

index 3f03637b548504bda20a51a5b8a43faaf28be75e..681a50a5c18b04c028bf695053ebe4ef42d09634 100644 (file)
@@ -3617,7 +3617,7 @@ dissect_ansi_map_win_trigger_list(tvbuff_t *tvb, packet_info *pinfo _U_, proto_t
 
        int offset = 0;
        int end_offset = 0;
-       int j;
+       int j = 0;
        proto_tree *subtree;
        guint8 octet;
 
index fc78939cf50aefbc89110e0b581f14dd549f5fc6..ce2175b41acf7609b4353422c06ee80b8593e2cf 100644 (file)
@@ -13811,7 +13811,7 @@ dissect_ansi_map_win_trigger_list(tvbuff_t *tvb, packet_info *pinfo _U_, proto_t
 
        int offset = 0;
        int end_offset = 0;
-       int j;
+       int j = 0;
        proto_tree *subtree;
        guint8 octet;