Detected by autobuild.sh when cross-building for mingw. * src/nodeinfo.c (nodeGetCPUStats, nodeGetMemoryStats): Mark parameters as potentially unused. --- Pushing under the build-breaker rule. src/nodeinfo.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/nodeinfo.c b/src/nodeinfo.c index cb2f805..647cb1e 100644 --- a/src/nodeinfo.c +++ b/src/nodeinfo.c @@ -636,9 +636,9 @@ int nodeGetInfo(virConnectPtr conn ATTRIBUTE_UNUSED, virNodeInfoPtr nodeinfo) { } int nodeGetCPUStats(virConnectPtr conn ATTRIBUTE_UNUSED, - int cpuNum, - virCPUStatsPtr params, - int *nparams, + int cpuNum ATTRIBUTE_UNUSED, + virCPUStatsPtr params ATTRIBUTE_UNUSED, + int *nparams ATTRIBUTE_UNUSED, unsigned int flags) { virCheckFlags(0, -1); @@ -665,9 +665,9 @@ int nodeGetCPUStats(virConnectPtr conn ATTRIBUTE_UNUSED, } int nodeGetMemoryStats(virConnectPtr conn ATTRIBUTE_UNUSED, - int cellNum, - virMemoryStatsPtr params, - int *nparams, + int cellNum ATTRIBUTE_UNUSED, + virMemoryStatsPtr params ATTRIBUTE_UNUSED, + int *nparams ATTRIBUTE_UNUSED, unsigned int flags) { virCheckFlags(0, -1); -- 1.7.4.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list