Skip to content
Snippets Groups Projects
Verified Commit eb4bee9f authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files

silence some warnings

parent 971cfa1e
Branches
No related tags found
No related merge requests found
Pipeline #22453 passed
...@@ -725,7 +725,6 @@ void Building::InitPlatforms() ...@@ -725,7 +725,6 @@ void Building::InitPlatforms()
}//subroom }//subroom
}//rooms }//rooms
return true;
} }
bool Building::InitInsideGoals() bool Building::InitInsideGoals()
{ {
......
...@@ -10,7 +10,7 @@ AIAssociation::AIAssociation() ...@@ -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; _landmark=landmark;
_associatedLandmark=associated_landmark; _associatedLandmark=associated_landmark;
...@@ -58,4 +58,3 @@ bool AIAssociation::operator==(const AIAssociation &asso2) const ...@@ -58,4 +58,3 @@ bool AIAssociation::operator==(const AIAssociation &asso2) const
{ {
return this==&asso2; return this==&asso2;
} }
...@@ -111,17 +111,21 @@ void TiXmlBase::ConvertUTF32ToUTF8( unsigned long input, char* output, int* leng ...@@ -111,17 +111,21 @@ void TiXmlBase::ConvertUTF32ToUTF8( unsigned long input, char* output, int* leng
--output; --output;
*output = (char)((input | BYTE_MARK) & BYTE_MASK); *output = (char)((input | BYTE_MARK) & BYTE_MASK);
input >>= 6; input >>= 6;
[[fallthrough]];
case 3: case 3:
--output; --output;
*output = (char)((input | BYTE_MARK) & BYTE_MASK); *output = (char)((input | BYTE_MARK) & BYTE_MASK);
input >>= 6; input >>= 6;
[[fallthrough]];
case 2: case 2:
--output; --output;
*output = (char)((input | BYTE_MARK) & BYTE_MASK); *output = (char)((input | BYTE_MARK) & BYTE_MASK);
input >>= 6; input >>= 6;
[[fallthrough]];
case 1: case 1:
--output; --output;
*output = (char)(input | FIRST_BYTE_MARK[*length]); *output = (char)(input | FIRST_BYTE_MARK[*length]);
[[fallthrough]];
} }
} }
...@@ -1635,4 +1639,3 @@ bool TiXmlText::Blank() const ...@@ -1635,4 +1639,3 @@ bool TiXmlText::Blank() const
return false; return false;
return true; return true;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment