Skip to content

Coverity Scan - Identical code for different branches #531

@raghvendra-dixit

Description

@raghvendra-dixit

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

Metadata

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