Commit ac24472a authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

winecfg: Add variable initialization in get_registry_version().

parent 49799ccb
......@@ -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 )))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment