Commit 1a5cd3ca authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

ole32: Remove a check on the share mode for the NULL filename case as the check…

ole32: Remove a check on the share mode for the NULL filename case as the check is already done earlier in StgCreateDocfile.
parent 6f7b1f64
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment