Initialize a pointer before dereferencing it.
This commit is contained in:
parent
23c4ccf990
commit
d6b2468f7f
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue