Skip to content

Coverity Scan - Identical code for different branches #531

Open
@raghvendra-dixit

Description

File: https://github.com/streadway/amqp/blob/master/read.go
Details:

  1. The condition is redundant
    In github.​com/streadway/amqp.​readFloat32(io.​Reader): The same code is executed regardless of the condition (CWE-398)
  2. The condition is redundant
    In github.​com/streadway/amqp.​readFloat64(io.​Reader): The same code is executed regardless of the condition (CWE-398)
    Screenshots:

image

2.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions