Wireshark mailing list archives

Re: [Wireshark-commits] rev 36812: /trunk/epan/ /trunk/epan/: proto.h


From: Stephen Fisher <steve () stephen-fisher com>
Date: Fri, 22 Apr 2011 10:22:55 -0600

On Fri, Apr 22, 2011 at 03:15:17PM +0000, morriss () wireshark org 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.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: