Skip to content

Commit

Permalink
Simplify a conditional in the repl initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
thufschmitt authored Feb 8, 2024
1 parent 155bc76 commit d24c8aa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libcmd/repl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,7 @@ void NixRepl::mainLoop()
notice("Nix %1%%2%\nType :? for help.", nixVersion, debuggerNotice);
}

if (isFirstRepl) {
isFirstRepl = false;
}
isFirstRepl = false;

loadFiles();

Expand Down

0 comments on commit d24c8aa

Please sign in to comment.