Stephen Fisher wrote:
On Fri, Apr 22, 2011 at 03:15:17PM +0000, [email protected] 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.

That sounds like a nice idea, but it would require re-implementing the checks in cmake :-(. I guess I'll go with Jakub's suggestion for g_gnuc.h .
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]?subject=unsubscribe

Reply via email to