From 17cc2fda76ed80b7d56a967d92c4204ef0f4dd10 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 13 Dec 2017 12:31:28 +0100 Subject: don't name unused parameter in apt-helper waitonline Reported-By: gcc -Wunused-parameter Gbp-Dch: Ignore --- cmdline/apt-helper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdline') diff --git a/cmdline/apt-helper.cc b/cmdline/apt-helper.cc index af8421f41..d1a3b4e6e 100644 --- a/cmdline/apt-helper.cc +++ b/cmdline/apt-helper.cc @@ -197,7 +197,7 @@ static bool ServiceIsActive(const char *service) return ExecWait(pid, "systemctl is-active", true); } -static bool DoWaitOnline(CommandLine &CmdL) +static bool DoWaitOnline(CommandLine &) { // Also add services to After= in .service static const char *WaitingTasks[][6] = { -- cgit v1.2.3-70-g09d2