Skip to content

Impossible code path involving an expression and its negation #7863

@llvmbot

Description

@llvmbot
Bugzilla Link 7491
Version unspecified
OS MacOS X
Reporter LLVM Bugzilla Contributor
CC @belkadan,@tkremenek,@xuzhongxing

Extended Description

As shown here http://people.freedesktop.org/~ranma42/scan-build-2010-06-25-1/report-RS3Z6A.html#EndPath
the static analyzer is reposting an impossible code path:
if (bytes_remaining) // not taken
and right after that
if (bytes_remaining == 0) // not taken

OS: MacOS 10.6.4
ANALYZER BUILD: checker-242 (2010-06-21 13:44:48)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions