progman: Remove idempotent operation (clang).

This commit is contained in:
André Hentschel 2011-07-13 20:36:07 +02:00 committed by Alexandre Julliard
parent f06ab42ab8
commit 1710013878
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ static BOOL GRPFILE_ReadFileToBuffer(LPCSTR path, HLOCAL *phBuffer,
if (file == HFILE_ERROR) return FALSE; if (file == HFILE_ERROR) return FALSE;
size = 0; size = 0;
hBuffer = LocalAlloc(LMEM_FIXED, size + MALLOCHUNK + 1); hBuffer = LocalAlloc(LMEM_FIXED, MALLOCHUNK + 1);
if (!hBuffer) return FALSE; if (!hBuffer) return FALSE;
buffer = LocalLock(hBuffer); buffer = LocalLock(hBuffer);