Skip to content

(RVV-B0005) Redundant error checking detected #2

@pallid

Description

@pallid

Description

if err { return err } else { return nil } can be simplified to return err. For example,

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/pallid/converter/issue/RVV-B0005/occurrences/

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