diff --git a/geometry/Building.cpp b/geometry/Building.cpp index 76007f223ee63783855764bbfe8092a0252062bf..c6e7e5c2144a53f9e7151d8f069ea6ba8a46d822 100644 --- a/geometry/Building.cpp +++ b/geometry/Building.cpp @@ -725,7 +725,6 @@ void Building::InitPlatforms() }//subroom }//rooms - return true; } bool Building::InitInsideGoals() { diff --git a/routing/ai_router/cognitiveMap/associations.cpp b/routing/ai_router/cognitiveMap/associations.cpp index d6926f8c4a42044462ecec30f93526f0b98a1267..08a919256f00923deb97560da0d8e7a35014b2bb 100644 --- a/routing/ai_router/cognitiveMap/associations.cpp +++ b/routing/ai_router/cognitiveMap/associations.cpp @@ -10,7 +10,7 @@ AIAssociation::AIAssociation() } -AIAssociation::AIAssociation(const AILandmark *landmark, const AILandmark *associated_landmark, bool connected) +AIAssociation::AIAssociation(const AILandmark *landmark, const AILandmark *associated_landmark, bool /*connected*/) { _landmark=landmark; _associatedLandmark=associated_landmark; @@ -58,4 +58,3 @@ bool AIAssociation::operator==(const AIAssociation &asso2) const { return this==&asso2; } - diff --git a/tinyxml/tinyxmlparser.cpp b/tinyxml/tinyxmlparser.cpp index 7d6fc6917f5ad3c7489a77add165c564ff69824d..12e786e6b106fb0eec38bb8cbc9cc13d34f697d6 100644 --- a/tinyxml/tinyxmlparser.cpp +++ b/tinyxml/tinyxmlparser.cpp @@ -111,17 +111,21 @@ void TiXmlBase::ConvertUTF32ToUTF8( unsigned long input, char* output, int* leng --output; *output = (char)((input | BYTE_MARK) & BYTE_MASK); input >>= 6; + [[fallthrough]]; case 3: --output; *output = (char)((input | BYTE_MARK) & BYTE_MASK); input >>= 6; + [[fallthrough]]; case 2: --output; *output = (char)((input | BYTE_MARK) & BYTE_MASK); input >>= 6; + [[fallthrough]]; case 1: --output; *output = (char)(input | FIRST_BYTE_MARK[*length]); + [[fallthrough]]; } } @@ -1635,4 +1639,3 @@ bool TiXmlText::Blank() const return false; return true; } -