DockerDevice: Fix compile warning

Amends 682ef157d8

Change-Id: I2ee639aac5d6b2ba55e96d322a6d5818ca0d6735
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Jarek Kobus
2023-02-27 12:46:00 +01:00
parent 4c251486e1
commit d249e77f77

View File

@@ -1237,6 +1237,7 @@ std::optional<FilePath> DockerDevice::clangdExecutable() const
std::optional<Utils::CommandLine> DockerDevice::terminalCommand(const FilePath &workDir,
const Environment &env) const
{
Q_UNUSED(env)
const QString shell = d->environment().value_or("SHELL", "/bin/sh");
return d->withDockerExecCmd({FilePath::fromUserInput(shell), {}},
std::nullopt,