diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-02-26 19:14:14 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-02-26 19:14:14 +0000 |
commit | 24b42dd6e13d86a17b96fce557fa8ab978b6af32 (patch) | |
tree | 22da5eaca17cb2e9e10261b89677f48e47f86b68 | |
parent | 9e436c6c4abd87e5e15d12babd4115c85bd849a4 (diff) |
Fix warning: 'rrc_sub_handle' may be used uninitialized in this function
svn path=/trunk/; revision=47904
-rw-r--r-- | epan/dissectors/packet-gsmtap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsmtap.c b/epan/dissectors/packet-gsmtap.c index ff0ae1a769..0c6ecd9906 100644 --- a/epan/dissectors/packet-gsmtap.c +++ b/epan/dissectors/packet-gsmtap.c @@ -471,7 +471,7 @@ handle_tetra(int channel _U_, tvbuff_t *payload_tvb _U_, packet_info *pinfo _U_, static void dissect_gsmtap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - int sub_handle, rrc_sub_handle, len, offset = 0; + int sub_handle, rrc_sub_handle = 0, len, offset = 0; proto_item *ti; proto_tree *gsmtap_tree = NULL; tvbuff_t *payload_tvb, *l1h_tvb = NULL; |