aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ncp2222.inc
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-19 00:05:12 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-19 00:05:12 +0000
commitb5d4ba2620850d5406499f92953c45c8d7223b66 (patch)
tree6ab599f15684e207a5daacbb7bce1782e970739e /epan/dissectors/packet-ncp2222.inc
parentc52b5716207d87256f884cb7d42f415627eadbca (diff)
Fix Visual C++ code analysis warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36007 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ncp2222.inc')
-rw-r--r--epan/dissectors/packet-ncp2222.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ncp2222.inc b/epan/dissectors/packet-ncp2222.inc
index db2599f3c5..22c6a155b4 100644
--- a/epan/dissectors/packet-ncp2222.inc
+++ b/epan/dissectors/packet-ncp2222.inc
@@ -2195,7 +2195,7 @@ _process_ptvc_record(ptvcursor_t *ptvc, const ptvc_record *rec,
if (rec->sub_ptvc_rec) {
/* Repeat this? */
- if (rec->repeat_index == NO_REPEAT) {
+ if (rec->repeat_index >= NO_REPEAT) {
if (rec->hf_ptr == PTVC_STRUCT) {
process_struct_sub_ptvc_record(ptvc, rec,
req_cond_results, really_decode,