From 1d455be9faea5ee2adfff8bb5477cf5e00b5254a Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Mon, 9 Jan 2023 22:53:34 +0100 Subject: [PATCH] Cleanup --- src/fish.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/fish.cpp b/src/fish.cpp index 59a6f4c33..56dba892e 100644 --- a/src/fish.cpp +++ b/src/fish.cpp @@ -431,9 +431,6 @@ int main(int argc, char **argv) { setlocale(LC_ALL, ""); - // struct stat tmp; - // stat("----------FISH_HIT_MAIN----------", &tmp); - const char *dummy_argv[2] = {"fish", nullptr}; if (!argv[0]) { argv = const_cast(dummy_argv); //!OCLINT(parameter reassignment) @@ -491,8 +488,6 @@ int main(int argc, char **argv) { // If we're not executing, there's no need to find the config. if (!opts.no_exec) { paths = determine_config_directory_paths(argv[0]); - } - if (!opts.no_exec) { env_init(&paths, /* do uvars */ !opts.no_config, /* default paths */ opts.no_config); }