]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: avoid 'index' as variable name
authorEric Blake <eblake@redhat.com>
Thu, 24 Apr 2014 21:41:47 +0000 (15:41 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 24 Apr 2014 21:46:56 +0000 (15:46 -0600)
commitfe190434852c01e79c136732da78a2baeadf3dba
treea9b41a4ec9690075cc54a2549a6ec05b9db3e9e8
parent6d0a61756801a8e3c227a0eb15e0f276bcd72362
build: avoid 'index' as variable name

Once again, gcc 4.4.7 (hello RHEL) rears its ugly head:

conf/domain_conf.c: In function 'virDomainDiskBackingStoreFormat':
conf/domain_conf.c:14940: error: declaration of 'index' shadows a global declaration [-Wshadow]
/usr/include/string.h:489: error: shadowed declaration is here [-Wshadow]

* src/conf/domain_conf.c (virDomainDiskBackingStoreFormat): Pacify
older gcc.

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