Fix two xcode warnings

An unused macro and a documentation error.
This commit is contained in:
Aaron Gyes 2016-11-04 18:11:37 -07:00
parent 2f28e96956
commit d437a84828
2 changed files with 1 additions and 3 deletions

View file

@ -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.
///

View file

@ -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;