[CLIPBRD]

Don't play with uninit var

svn path=/trunk/; revision=70768
This commit is contained in:
Pierre Schweitzer 2016-02-21 11:33:54 +00:00
parent 2b33641cc1
commit 195caaa854

View file

@ -48,7 +48,7 @@ static HGLOBAL ClipboardReadMemoryBlock(HANDLE hFile, DWORD dwOffset, DWORD dwLe
static BOOL ClipboardReadMemory(HANDLE hFile, DWORD dwFormat, DWORD dwOffset, DWORD dwLength, WORD FileIdentifier, PVOID lpFormatName) static BOOL ClipboardReadMemory(HANDLE hFile, DWORD dwFormat, DWORD dwOffset, DWORD dwLength, WORD FileIdentifier, PVOID lpFormatName)
{ {
HGLOBAL hData; HGLOBAL hData;
DWORD dwTemp; DWORD dwTemp = 0;
hData = ClipboardReadMemoryBlock(hFile, dwOffset, dwLength); hData = ClipboardReadMemoryBlock(hFile, dwOffset, dwLength);
if (!hData) if (!hData)