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

winecfg: Fix use of uninitialized variable in some cases.

parent 50ada0ff
......@@ -75,7 +75,7 @@ static const char szKeyProdNT[] = "System\\CurrentControlSet\\Control\\ProductOp
static int get_registry_version(void)
{
int i, best = -1, platform, major, minor = 0, build = 0;
char *p, *ver, *type;
char *p, *ver, *type = NULL;
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