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:
axel 2007-01-17 01:11:30 +10:00
parent 81e0fcbc13
commit f603b6ef68

View file

@ -609,7 +609,7 @@ static void history_save_mode( void *n, history_mode_t *m )
FILE *out;
history_mode_t *on_disk;
int i;
int has_new;
int has_new=0;
wchar_t *tmp_name;
/*