summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-12-13 12:31:28 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2017-12-13 23:53:21 +0100
commit17cc2fda76ed80b7d56a967d92c4204ef0f4dd10 (patch)
treed556f0a1ad69364bebc29f715745edfdc34ab726 /cmdline
parentd812245dd5ac9268ef060a243ac978074504ecca (diff)
don't name unused parameter in apt-helper waitonline
Reported-By: gcc -Wunused-parameter Gbp-Dch: Ignore
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-helper.cc2
1 files changed, 1 insertions, 1 deletions
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] = {