[Bug 39482] New: Logically dead code in GetCreationModeFromSTGM (Coverity #731555)
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(a)winehq.org Reporter: alexhenrie24(a)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: -- 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.
https://bugs.winehq.org/show_bug.cgi?id=39482 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fgouget(a)codeweavers.com, | |sebastian(a)fds-team.de -- 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.
https://bugs.winehq.org/show_bug.cgi?id=39482 --- Comment #1 from Alex Henrie <alexhenrie24(a)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... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=39482 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- 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.
participants (1)
-
wine-bugs@winehq.org