forked from qt-creator/qt-creator
DockerDevice: Fix compile warning
Amends 682ef157d8
Change-Id: I2ee639aac5d6b2ba55e96d322a6d5818ca0d6735
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -1237,6 +1237,7 @@ std::optional<FilePath> DockerDevice::clangdExecutable() const
|
|||||||
std::optional<Utils::CommandLine> DockerDevice::terminalCommand(const FilePath &workDir,
|
std::optional<Utils::CommandLine> DockerDevice::terminalCommand(const FilePath &workDir,
|
||||||
const Environment &env) const
|
const Environment &env) const
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(env)
|
||||||
const QString shell = d->environment().value_or("SHELL", "/bin/sh");
|
const QString shell = d->environment().value_or("SHELL", "/bin/sh");
|
||||||
return d->withDockerExecCmd({FilePath::fromUserInput(shell), {}},
|
return d->withDockerExecCmd({FilePath::fromUserInput(shell), {}},
|
||||||
std::nullopt,
|
std::nullopt,
|
||||||
|
|||||||
Reference in New Issue
Block a user