Robert Shearman : ole32:
Remove a check on the share mode for the NULL filename case as the
check is already done earlier in StgCreateDocfile .
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jul 31 15:01:22 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 1a5cd3ca9bb4fc56221b9b0b74edf255a6826ee3
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=1a5cd3ca9bb4fc56221b9b0b74edf255a6826ee3
Author: Robert Shearman <rob at codeweavers.com>
Date: Mon Jul 31 16:43:46 2006 +0100
ole32: Remove a check on the share mode for the NULL filename case as the check is already done earlier in StgCreateDocfile.
---
dlls/ole32/storage32.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index fd252d8..f827251 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -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));
More information about the wine-cvs
mailing list