Wireshark mailing list archives

How can I run this sort of test before checking in and can it be more useful?


From: Richard Sharpe <realrichardsharpe () gmail com>
Date: Sun, 9 Sep 2018 16:17:16 -0700

Hi folks,

On my latest petri-dish run I got a bunch of these errors:

Error: 
/home/wireshark/builders/ubuntu-x86-64-petri-dish/ubuntu-x86-64-petri-dish/build/epan/dissectors/packet-ieee80211.c
uses proto_tree_add_uint with tvb_get_*. Use proto_tree_add_item
instead
Args: tree, hf_he_qtp_setup_quiet_period_duration, tvb, offset, 1,
tvb_get_guint8(tvb, offset)

This is very useful, however, I have two questions:

1. How do I run this myself before I push stuff to Gerritt?

2. Can it be more useful and tell me the line number the problem appears on?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: