mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Fix two xcode warnings
An unused macro and a documentation error.
This commit is contained in:
parent
2f28e96956
commit
d437a84828
2 changed files with 1 additions and 3 deletions
|
@ -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.
|
||||
///
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue