aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dnp.c
diff options
context:
space:
mode:
authorgrahamb <grahamb@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-14 14:39:40 +0000
committergrahamb <grahamb@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-14 14:39:40 +0000
commitda17a7a4471347887db02503dbb5221e0bccce33 (patch)
tree46fe663feeab7b6b33b3334be1da152378ed5359 /epan/dissectors/packet-dnp.c
parent0cf7ea6dfbb5a9048f10be249aa01fb7fefc2760 (diff)
Removed redundant comparison that caused compilation failure on OSX
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35536 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dnp.c')
-rw-r--r--epan/dissectors/packet-dnp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dnp.c b/epan/dissectors/packet-dnp.c
index 4d6bf8387a..5c2f98916c 100644
--- a/epan/dissectors/packet-dnp.c
+++ b/epan/dissectors/packet-dnp.c
@@ -1563,7 +1563,7 @@ dnp3_al_process_object(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree
for (item_num = 0; item_num < num_items; item_num++)
{
/* Create Point item and Process Index */
- if (AL_OBJQL_IDX_NI <= al_objq_index && al_objq_index <= AL_OBJQL_IDX_4O)
+ if (al_objq_index <= AL_OBJQL_IDX_4O)
point_item = proto_tree_add_text(object_tree, tvb, offset, -1, "Point Number");
else
point_item = proto_tree_add_text(object_tree, tvb, offset, -1, "Object: Size");