mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Fix compiler warning about unused conn parameter
This only affects builds without NUMA support.
This commit is contained in:
parent
fcd103bb2a
commit
84fa113217
@ -450,7 +450,7 @@ int nodeCapsInitNUMA(virCapsPtr caps ATTRIBUTE_UNUSED) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int nodeGetCellsFreeMemory(virConnectPtr conn,
|
int nodeGetCellsFreeMemory(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||||
unsigned long long *freeMems ATTRIBUTE_UNUSED,
|
unsigned long long *freeMems ATTRIBUTE_UNUSED,
|
||||||
int startCell ATTRIBUTE_UNUSED,
|
int startCell ATTRIBUTE_UNUSED,
|
||||||
int maxCells ATTRIBUTE_UNUSED)
|
int maxCells ATTRIBUTE_UNUSED)
|
||||||
@ -460,7 +460,7 @@ int nodeGetCellsFreeMemory(virConnectPtr conn,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long long nodeGetFreeMemory(virConnectPtr conn)
|
unsigned long long nodeGetFreeMemory(virConnectPtr conn ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
nodeReportError(VIR_ERR_NO_SUPPORT, "%s",
|
nodeReportError(VIR_ERR_NO_SUPPORT, "%s",
|
||||||
_("NUMA memory information not available on this platform"));
|
_("NUMA memory information not available on this platform"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user