Initialize a pointer before dereferencing it.

oldstable
Vincent Béron 2004-01-16 02:01:12 +00:00 committed by Alexandre Julliard
parent 23c4ccf990
commit d6b2468f7f
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ TW_UINT16 TWAIN_IdentityGetFirst (pTW_IDENTITY pOrigin, TW_MEMREF pData)
return TWRC_FAILURE;
#else
TW_UINT16 twRC = TWRC_SUCCESS;
pTW_IDENTITY pSourceIdentity;/* = (pTW_IDENTITY) pData;*/
pTW_IDENTITY pSourceIdentity = (pTW_IDENTITY) pData;
SANE_Status status;
TRACE ("DG_CONTROL/DAT_IDENTITY/MSG_GETFIRST\n");