aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mausb.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-11-30 20:58:23 +0100
committerAnders Broman <a.broman58@gmail.com>2015-11-30 21:04:55 +0000
commita1d1bd2272346e2cfc5803998ef3a8021b6fd87b (patch)
tree38c88c2ebfdf7f2620175418f9a48452c0cc782e /epan/dissectors/packet-mausb.c
parent9bd05a274f9e5ed9ba0435ff56de40835a47fb06 (diff)
mausb: Fix A part of conditional expression is always true found by PVS Studio (V560)
!del is always true (else if before) Change-Id: I21e335eb3035ec17e990076a4895006d3138f16b Reviewed-on: https://code.wireshark.org/review/12312 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-mausb.c')
-rw-r--r--epan/dissectors/packet-mausb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mausb.c b/epan/dissectors/packet-mausb.c
index 9df23cecbb..00b9d50338 100644
--- a/epan/dissectors/packet-mausb.c
+++ b/epan/dissectors/packet-mausb.c
@@ -1038,7 +1038,7 @@ static guint16 dissect_mausb_mgmt_pkt_ep_handle( proto_tree *tree, tvbuff_t *tvb
if (del) {
loop_offset += dissect_ep_handle(tree, tvb, loop_offset);
- } else if (req && !del) {
+ } else if (req) {
/* Standard USB Endpoint Descriptor */
dissect_usb_endpoint_descriptor(pinfo, tree, tvb, loop_offset,