mirror of https://gitee.com/openkylin/libvirt.git
tools: avoid unused parameter warning when readline is disabled
The vshReadlineHistoryAdd stub method does not use its parameter. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
c69915ccaf
commit
7bd8621291
tools
|
@ -2971,7 +2971,7 @@ vshReadline(vshControl *ctl G_GNUC_UNUSED,
|
|||
}
|
||||
|
||||
void
|
||||
vshReadlineHistoryAdd(const char *cmd)
|
||||
vshReadlineHistoryAdd(const char *cmd G_GNUC_UNUSED)
|
||||
{
|
||||
/* empty */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue