mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix uninitialized varialble in env.c
darcs-hash:20070122012815-ac50b-a04cfc343ce75afd4feff8e25c580f9e54d5c5ef.gz
This commit is contained in:
parent
6ea3dd7dfe
commit
565970b8ca
1 changed files with 5 additions and 0 deletions
5
env.c
5
env.c
|
@ -888,6 +888,11 @@ int env_set( const wchar_t *key,
|
||||||
entry->export = 1;
|
entry->export = 1;
|
||||||
has_changed_new = 1;
|
has_changed_new = 1;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
entry->export = 0;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wcscpy( entry->val, val );
|
wcscpy( entry->val, val );
|
||||||
|
|
Loading…
Reference in a new issue