Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Question regarding emem -> wmem conversion

From: Christopher Maynard <Christopher.Maynard@xxxxxxxxx>
Date: Fri, 13 Sep 2013 15:56:54 +0000 (UTC)
Joerg Mayer <jmayer@...> writes:

> > ../../tools/checkAPIs.pl -g emem packet-cdp.c
> > packet-cdp.c: found 69 useless add_text() vs. 76 add_<something else>()
> > calls (90.79%)
> > 
> > What should be done for that? Is that related to emem?
> 
> No, I just couldn't find an option to turn off the default checks, so we
> get them as well. 

Strangely and rather non-intuitively, the option is --build, as in:

    ../../tools/checkAPIs.pl --build -g emem packet-cdp.c

(It might be a good idea to choose another name for this option and document
it in the usage ... along with the nohf and debug flags.)