[netcf-devel] [PATCH 1/5] Windows port of netcf api calls
Eric Blake
eblake at redhat.com
Thu Sep 23 12:24:59 UTC 2010
On 09/23/2010 06:06 AM, Laine Stump wrote:
> For that matter, I don't understand how this even compiles - all the
> args are marked as ATTRIBUTE_UNUSED, yet "names" is actually used.
gcc's ATTRIBUTE_UNUSED is a hint and not a requirement - it means
'suppress the warning if I don't use this', but not 'tell me if I
mistakenly used it anyways'. Therefore, it is safe to blindly mark a
variable ATTRIBUTE_UNUSED even if it ends up being used, it just looks
funny.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the netcf-devel
mailing list