Fix for builtin_test crash

https://github.com/fish-shell/fish-shell/issues/497
This commit is contained in:
ridiculousfish
2013-01-06 14:48:46 -08:00
parent 8a357e1866
commit bf3e4126b2
3 changed files with 11 additions and 10 deletions

View File

@@ -772,7 +772,6 @@ static int builtin_set(parser_t &parser, wchar_t **argv)
else
{
wcstring_list_t value;
// al_init(&value);
while (woptind < argc)
{
@@ -790,17 +789,9 @@ static int builtin_set(parser_t &parser, wchar_t **argv)
my_env_set(dest, result, scope);
// al_destroy( &value );
}
}
// al_foreach( &result, &free );
// al_destroy( &result );
// al_destroy(&indexes);
// al_destroy(&values);
}
else
{