ole32: Remove a check on the share mode for the NULL filename case as the check is already done earlier in StgCreateDocfile.

This commit is contained in:
Robert Shearman 2006-07-31 16:43:46 +01:00 committed by Alexandre Julliard
parent 6f7b1f6463
commit 1a5cd3ca9b

View File

@ -5661,9 +5661,6 @@ HRESULT WINAPI StgCreateDocfile(
WCHAR tempPath[MAX_PATH];
static const WCHAR prefix[] = { 'S', 'T', 'O', 0 };
if (STGM_SHARE_MODE(grfMode) != STGM_SHARE_EXCLUSIVE)
goto end;
memset(tempPath, 0, sizeof(tempPath));
memset(tempFileName, 0, sizeof(tempFileName));