[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] [PATCH] virLockManagerNopInit: Rename flags to unused_flags
- From: Michal Privoznik <mprivozn redhat com>
- To: libvir-list redhat com
- Subject: [libvirt] [PATCH] virLockManagerNopInit: Rename flags to unused_flags
- Date: Tue, 27 Sep 2011 11:19:04 +0200
As these might be not used and make syntax-check complains about checking
them via virCheckFlags.
---
pushing under build-breaker rule
src/locking/lock_driver_nop.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/locking/lock_driver_nop.c b/src/locking/lock_driver_nop.c
index 570b7e7..2ca6c4d 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;
}
--
1.7.3.4
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]