user32: Fix uninitialized variable so first call to DdeGetLastError isn't undefined.

This commit is contained in:
Dan Kegel 2009-11-05 19:16:34 -08:00 committed by Alexandre Julliard
parent 5274777b1c
commit 75d613f64f
1 changed files with 1 additions and 0 deletions

View File

@ -380,6 +380,7 @@ UINT WDML_Initialize(LPDWORD pidInst, PFNCALLBACK pfnCallback,
pInstance->nodeList = NULL; /* node will be added later */
pInstance->monitorFlags = afCmd & MF_MASK;
pInstance->wStatus = 0;
pInstance->lastError = DMLERR_NO_ERROR;
pInstance->servers = NULL;
pInstance->convs[0] = NULL;
pInstance->convs[1] = NULL;