diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2015-06-27 06:10:20 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-06-27 14:32:35 +0000 |
commit | b24a45c354f95e27e30dbcc0e9e3ef3af4676e9c (patch) | |
tree | 01895e45535de45abc417760316c76c99bae854f /epan/tap.c | |
parent | 26a1ccbc05f0dfd425393d1455cfc0de0f253f3e (diff) |
Avoid some Visual Studio Code Anaylzer warnings
Change-Id: I320386b02bea09658636a9281ee3cbba34a5e4cd
Reviewed-on: https://code.wireshark.org/review/9188
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/tap.c')
-rw-r--r-- | epan/tap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tap.c b/epan/tap.c index 605c4990ee..c0b7f92c2f 100644 --- a/epan/tap.c +++ b/epan/tap.c @@ -352,7 +352,7 @@ tap_push_tapped_queue(epan_dissect_t *edt) for(tl=(tap_listener_t *)tap_listener_queue;tl;tl=tl->next){ tp=&tap_packet_array[i]; /* Don't tap the packet if it's an "error" unless the listener tells us to */ - if ((!tp->flags & TAP_PACKET_IS_ERROR_PACKET) || (tl->flags & TL_REQUIRES_ERROR_PACKETS)) + if (!(tp->flags & TAP_PACKET_IS_ERROR_PACKET) || (tl->flags & TL_REQUIRES_ERROR_PACKETS)) { if(tp->tap_id==tl->tap_id){ gboolean passed=TRUE; |