forked from lix-project/lix
Removes unused variable from nix-build/nix-shell
This particular `shell` variable wasn't used, since a new one was declared in the only side of the `if` branch that used a `shell` variable. It could realistically confuse developers thinking it could use `$SHELL` under some situations.
This commit is contained in:
parent
b27431b7cb
commit
fb6907e3d6
|
@ -85,7 +85,6 @@ void mainWrapped(int argc, char * * argv)
|
||||||
BuildMode buildMode = bmNormal;
|
BuildMode buildMode = bmNormal;
|
||||||
bool readStdin = false;
|
bool readStdin = false;
|
||||||
|
|
||||||
auto shell = getEnv("SHELL", "/bin/sh");
|
|
||||||
std::string envCommand; // interactive shell
|
std::string envCommand; // interactive shell
|
||||||
Strings envExclude;
|
Strings envExclude;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue