mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-10 21:11:15 -03:00
Fix for builtin_test crash
https://github.com/fish-shell/fish-shell/issues/497
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user