mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 11:58:22 +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)
|
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;
|
char *p, *ver;
|
||||||
|
|
||||||
if ((ver = get_reg_key( HKEY_LOCAL_MACHINE, szKeyNT, "CurrentVersion", NULL )))
|
if ((ver = get_reg_key( HKEY_LOCAL_MACHINE, szKeyNT, "CurrentVersion", NULL )))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user