Author: pschweitzer
Date: Sun Feb 21 11:33:54 2016
New Revision: 70768
URL:
http://svn.reactos.org/svn/reactos?rev=70768&view=rev
Log:
[CLIPBRD]
Don't play with uninit var
Modified:
trunk/reactos/base/applications/clipbrd/fileutils.c
Modified: trunk/reactos/base/applications/clipbrd/fileutils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/clipbrd/…
==============================================================================
--- trunk/reactos/base/applications/clipbrd/fileutils.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/clipbrd/fileutils.c [iso-8859-1] Sun Feb 21 11:33:54
2016
@@ -48,7 +48,7 @@
static BOOL ClipboardReadMemory(HANDLE hFile, DWORD dwFormat, DWORD dwOffset, DWORD
dwLength, WORD FileIdentifier, PVOID lpFormatName)
{
HGLOBAL hData;
- DWORD dwTemp;
+ DWORD dwTemp = 0;
hData = ClipboardReadMemoryBlock(hFile, dwOffset, dwLength);
if (!hData)