diff --git a/src/env.cpp b/src/env.cpp index 7d84992d0..5a9770f92 100644 --- a/src/env.cpp +++ b/src/env.cpp @@ -479,7 +479,7 @@ static env_node_t *env_get_node(const wcstring &key) { /// /// \param key The key /// \param val The value -/// \param mode The type of the variable. Can be any combination of ENV_GLOBAL, ENV_LOCAL, +/// \param var_mode The type of the variable. Can be any combination of ENV_GLOBAL, ENV_LOCAL, /// ENV_EXPORT and ENV_USER. If mode is zero, the current variable space is searched and the current /// mode is used. If no current variable with the same name is found, ENV_LOCAL is assumed. /// diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp index 9b82ded00..99a0741ae 100644 --- a/src/fish_tests.cpp +++ b/src/fish_tests.cpp @@ -95,8 +95,6 @@ static bool should_test_function(const char *func_name) { #define ESCAPE_TEST_LENGTH 100 /// The higest character number of character to try and escape. #define ESCAPE_TEST_CHAR 4000 -/// Number of laps to run performance testing loop. -#define LAPS 50 /// Number of encountered errors. static int err_count = 0;