https://bugs.winehq.org/show_bug.cgi?id=39482
Bug ID: 39482 Summary: Logically dead code in GetCreationModeFromSTGM (Coverity #731555) Product: Wine Version: 1.7.53 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ole32 Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
dead_error_condition: The switch value stgm & 0xf000U cannot be 131072U.
CID 731555 (#1 of 1): Logically dead code (DEADCODE) dead_error_begin: Execution cannot reach this statement: case 131072U:
https://bugs.winehq.org/show_bug.cgi?id=39482
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fgouget@codeweavers.com, | |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=39482
--- Comment #1 from Alex Henrie alexhenrie24@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/65d699eb5f7fc151197f3dc9f36499ee...
https://bugs.winehq.org/show_bug.cgi?id=39482
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source