winecfg: Add variable initialization in get_registry_version().

This commit is contained in:
Gerald Pfeifer 2008-05-02 19:08:09 +02:00 committed by Alexandre Julliard
parent 49799ccb01
commit ac24472aaa
1 changed files with 1 additions and 1 deletions

View File

@ -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 )))