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] [Wireshark-commits] rev 36812: /trunk/epan/ /trunk/epan/: pr

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Apr 2011 10:22:55 -0600
On Fri, Apr 22, 2011 at 03:15:17PM +0000, morriss@xxxxxxxxxxxxx wrote:

> Log:
>  If we're using GNUC, use attribute warn_unused_result to verify that the
>  return value of proto_item_add_subtree() is used.
>  
>  (The WARN_IF_UNUSED macro doesn't belong here...  But where should it 
>  go?)

We define _U_ to mean "__attribute__((unused))" if we're using GCC and 
"" if we're not using configure.in.