[Bug 39482] Logically dead code in GetCreationModeFromSTGM (Coverity #731555)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 22 00:57:37 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39482

--- Comment #1 from Alex Henrie <alexhenrie24 at gmail.com> ---
To clarify, STGM_CREATE_MODE is defined as (stgm & 0x0f000), STGM_CONVERT is
defined as 0x20000, and (stgm & 0x0f000) is always less than 0x20000, so the
STGM_CONVERT case is never executed. See
https://source.winehq.org/git/wine.git/blob/65d699eb5f7fc151197f3dc9f36499ee3e43f8e7:/dlls/ole32/storage32.c#l421

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list