[libvirt] [PATCH libvirt 1/6] errcode is typedef by mingw, rename an argument name

Eric Blake eblake at redhat.com
Wed Jan 25 21:53:01 UTC 2012


On 01/25/2012 01:13 PM, Marc-André Lureau wrote:
> Fixes the following warning:
> util/virterror.c:1242:31: warning: declaration of 'errcode' shadows a global declaration [-Wshadow]

Which header is polluting the namespace with a non-standard name?

> ---
>  src/util/virterror.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

At any rate, ACK and pushed.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120125/9fb1277c/attachment-0001.sig>


More information about the libvir-list mailing list