mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
winecfg: Add variable initialization in get_registry_version().
This commit is contained in:
parent
49799ccb01
commit
ac24472aaa
@ -70,7 +70,7 @@ static const char szKeyNT[] = "Software\\Microsoft\\Windows NT\\CurrentVersion";
|
||||
|
||||
static int get_registry_version(void)
|
||||
{
|
||||
int i, best = -1, platform, major, minor, build = 0;
|
||||
int i, best = -1, platform, major, minor = 0, build = 0;
|
||||
char *p, *ver;
|
||||
|
||||
if ((ver = get_reg_key( HKEY_LOCAL_MACHINE, szKeyNT, "CurrentVersion", NULL )))
|
||||
|
Loading…
Reference in New Issue
Block a user