From: Michal Privoznik Date: Tue, 27 Sep 2011 09:11:14 +0000 (+0200) Subject: virLockManagerNopInit: Rename flags to unused_flags X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=62cb8ad7ffd5d5c27d4659db05f247238932db92;p=libvirt.git virLockManagerNopInit: Rename flags to unused_flags As these might be not used and make syntax-check complains about checking them via virCheckFlags. --- diff --git a/src/locking/lock_driver_nop.c b/src/locking/lock_driver_nop.c index 570b7e7b47..2ca6c4d26e 100644 --- a/src/locking/lock_driver_nop.c +++ b/src/locking/lock_driver_nop.c @@ -29,10 +29,10 @@ static int virLockManagerNopInit(unsigned int version ATTRIBUTE_UNUSED, const char *configFile ATTRIBUTE_UNUSED, - unsigned int flags ATTRIBUTE_UNUSED) + unsigned int flags_unused ATTRIBUTE_UNUSED) { VIR_DEBUG("version=%u configFile=%s flags=%x", - version, NULLSTR(configFile), flags); + version, NULLSTR(configFile), flags_unused); return 0; }