mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-10 05:02:50 +01:00
config_fail may have been uninitialized
This commit is contained in:
parent
c89c81f60f
commit
3e5e47d00d
@ -122,6 +122,7 @@ init ()
|
||||
FILE * file_out;
|
||||
char buffer[512];
|
||||
|
||||
config_fail = 0;
|
||||
snprintf (buffer, sizeof (buffer), "%s/checksum.conf", xchat_get_info (ph, "xchatdirfs"));
|
||||
|
||||
if ((file_in = fopen (buffer, "r")) == NULL)
|
||||
@ -131,7 +132,6 @@ init ()
|
||||
config_fail = 1;
|
||||
} else
|
||||
{
|
||||
config_fail = 0;
|
||||
fprintf (file_out, "%llu\n", (unsigned long long) DEFAULT_MAX_HASH_SIZE);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user