oleaut32: Local variable goes out of scope via pointer (Coverity).

This commit is contained in:
Marcus Meissner 2011-03-04 10:43:42 +01:00 committed by Alexandre Julliard
parent 7fb4e2ae45
commit d9908d2abd
1 changed files with 1 additions and 2 deletions

View File

@ -338,6 +338,7 @@ HRESULT WINAPI OleCreateFontIndirect(
{
OLEFontImpl* newFont = 0;
HRESULT hr = S_OK;
FONTDESC fd;
TRACE("(%p, %s, %p)\n", lpFontDesc, debugstr_guid(riid), ppvObj);
/*
@ -349,8 +350,6 @@ HRESULT WINAPI OleCreateFontIndirect(
*ppvObj = 0;
if (!lpFontDesc) {
FONTDESC fd;
static WCHAR fname[] = { 'S','y','s','t','e','m',0 };
fd.cbSizeofstruct = sizeof(fd);