Wireshark-commits: [Wireshark-commits] master 0160397: mausb: The '&' operator is applied to bool t

Date Prev · Date Next · Thread Prev · Thread Next
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 30 Nov 2015 21:06:14 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=01603971a5534a01d0aead76861e9338a9171f42
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

0160397 by Alexis La Goutte (alexis.lagoutte@xxxxxxxxx):

    mausb: The '&' operator is applied to bool type value found by PVS Studio (V564)
    
    You've probably forgotten to include parentheses or intended to use the '&&' operator
    
    Change-Id: Ie9c79729f2ec67aa9579dca40b2e904a9047218f
    Reviewed-on: https://code.wireshark.org/review/12313
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  a1d1bd2   mausb: Fix A part of conditional expression is always true found by PVS Studio (V560)
    adds  0160397   mausb: The '&' operator is applied to bool type value found by PVS Studio (V564)


Summary of changes:
 epan/dissectors/packet-mausb.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)