mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 23:47:25 +00:00
Fix potential use of ininitialized variable. Could cause fish to save the history even when unneeded.
darcs-hash:20070116151130-ac50b-6186e6da834bae3ea07f3f25a105592f5115e0f3.gz
This commit is contained in:
parent
81e0fcbc13
commit
f603b6ef68
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ static void history_save_mode( void *n, history_mode_t *m )
|
||||||
FILE *out;
|
FILE *out;
|
||||||
history_mode_t *on_disk;
|
history_mode_t *on_disk;
|
||||||
int i;
|
int i;
|
||||||
int has_new;
|
int has_new=0;
|
||||||
wchar_t *tmp_name;
|
wchar_t *tmp_name;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue