MissouriMRDT / Autonomy_Software

Boolean expression can be simplified CXX-C2015
Anti-pattern
Minor
1 occurrence in this check
redundant boolean literal in conditional return statement
343            dNorthing >= (m_stStartNode.stNodeLocation.dNorthing - constants::ASTAR_MAXIMUM_SEARCH_GRID - constants::ASTAR_NODE_SIZE) &&
344            dNorthing <= (m_stStartNode.stNodeLocation.dNorthing + constants::ASTAR_MAXIMUM_SEARCH_GRID + constants::ASTAR_NODE_SIZE))
345        {
346            return true;347        }
348        // Return false if boundary check failed.
349        return false;