mirror of
https://github.com/reactos/reactos.git
synced 2025-01-09 15:51:16 +00:00
[CLIPBRD]
Don't play with uninit var svn path=/trunk/; revision=70768
This commit is contained in:
parent
2b33641cc1
commit
195caaa854
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue