aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mausb.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-11-30 21:00:24 +0100
committerAnders Broman <a.broman58@gmail.com>2015-11-30 21:06:05 +0000
commit01603971a5534a01d0aead76861e9338a9171f42 (patch)
tree4304c20eac7179231f1d6e623869e8753b6dba0d /epan/dissectors/packet-mausb.c
parenta1d1bd2272346e2cfc5803998ef3a8021b6fd87b (diff)
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@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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mausb.c b/epan/dissectors/packet-mausb.c
index 00b9d50338..d006148fc2 100644
--- a/epan/dissectors/packet-mausb.c
+++ b/epan/dissectors/packet-mausb.c
@@ -2047,7 +2047,7 @@ proto_register_mausb(void)
{ &hf_mausb_mgmt_ep_handle_pad,
{ "Padding to a DWORD", "mausb.ep_handle_pad",
FT_NONE, 0,
- NULL, MAUSB_MGMT_NUM_EP_HANDLE_PAD_MASK, NULL, HFILL
+ NULL, 0x0, NULL, HFILL
}
},
{ &hf_mausb_mgmt_ep_des_num,
@@ -2065,7 +2065,7 @@ proto_register_mausb(void)
{ &hf_mausb_mgmt_ep_des_pad,
{ "Padding to a DWORD", "mausb.ep_des_pad",
FT_NONE, 0, NULL,
- MAUSB_MGMT_EP_DES_PAD_MASK,
+ 0x0,
NULL, HFILL
}
},