]> xenbits.xensource.com Git - libvirt.git/commit
build: avoid compiler warning on shadowed name
authorEric Blake <eblake@redhat.com>
Tue, 16 Jul 2013 16:11:32 +0000 (10:11 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 16 Jul 2013 16:11:32 +0000 (10:11 -0600)
commitcbe31911ad893579cbeac6d646c3a2649bf21454
tree3e26127f4ef4184183f5b0fbf4096e100c583131
parent129d25dcd91fc1d15e9067df2cc65125dc49a34b
build: avoid compiler warning on shadowed name

Introduced in commit 24b08219; compilation on RHEL 6.4 complained:
qemu/qemu_hotplug.c: In function 'qemuDomainAttachChrDevice':
qemu/qemu_hotplug.c:1257: error: declaration of 'remove' shadows a global declaration [-Wshadow]
/usr/include/stdio.h:177: error: shadowed declaration is here [-Wshadow]

* src/qemu/qemu_hotplug.c (qemuDomainAttachChrDevice): Avoid the
name 'remove'.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_hotplug.c