Skip to content
This repository was archived by the owner on Sep 23, 2019. It is now read-only.
This repository was archived by the owner on Sep 23, 2019. It is now read-only.

src/qtweetgeocoord.cpp: 2 * bad if tests ? #23

Description

@dcb314

qtweetgeocoord.cpp:43]: (warning) Logical disjunction always evaluates to true: m_latitude > -90.0 || m_latitude < 90.0.

Source code is
if (m_latitude > -90.0 || m_latitude < 90.0)

qtweetgeocoord.cpp:53]: (warning) Logical disjunction always evaluates to true: m_longitude > -180.0 || m_longitude < 180.0.

if (m_longitude > -180.0 || m_longitude < 180.0)

Activity

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

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