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:
Daniel P. Berrangé 2020-09-04 10:17:30 +01:00
parent c69915ccaf
commit 7bd8621291

View File

@ -2971,7 +2971,7 @@ vshReadline(vshControl *ctl G_GNUC_UNUSED,
}
void
vshReadlineHistoryAdd(const char *cmd)
vshReadlineHistoryAdd(const char *cmd G_GNUC_UNUSED)
{
/* empty */
}