[libvirt] [PATCH] avoid global variable shadowed

Eric Blake eblake at redhat.com
Fri Mar 2 03:20:20 UTC 2012


On 03/01/2012 07:52 PM, Hu Tao wrote:
> If "conf/domain_conf.h" included in file nodeinfo.c, gcc complains about
> a variable shadowing. fix it for potential further including of the file.
> 
> ref: https://www.redhat.com/archives/libvir-list/2012-February/msg00955.html
> ---
>  src/nodeinfo.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

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/20120301/76d58104/attachment-0001.sig>


More information about the libvir-list mailing list