diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-07-07 14:11:38 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-07-07 14:11:38 +0000 |
commit | 9315a45deb1957b0e87bde5e0a82ed4f76b87cea (patch) | |
tree | 89eea68fcfc035d31c25045362206e192ffb0de2 /epan/dissectors/packet-ansi_a.c | |
parent | 85f219be2e41191971218a632022f590003f992c (diff) |
From Evan Huus: fix "Unused variable in packet-ansi_a.c"
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7447
svn path=/trunk/; revision=43598
Diffstat (limited to 'epan/dissectors/packet-ansi_a.c')
-rw-r--r-- | epan/dissectors/packet-ansi_a.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ansi_a.c b/epan/dissectors/packet-ansi_a.c index 66d24d76b5..e8ec1997ee 100644 --- a/epan/dissectors/packet-ansi_a.c +++ b/epan/dissectors/packet-ansi_a.c @@ -5828,7 +5828,9 @@ elem_is2000_nn_scr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guin { guint8 oct; guint32 curr_offset; +#ifndef MLUM guint is2000_portion_len; +#endif curr_offset = offset; @@ -5847,10 +5849,10 @@ elem_is2000_nn_scr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guin curr_offset++; - is2000_portion_len = len - (curr_offset - offset); - #ifndef MLUM + is2000_portion_len = len - (curr_offset - offset); + NO_MORE_DATA_CHECK(len); if (is2000_portion_len > 0) |