silence some warnings

parent 971cfa1e
Pipeline #22453 passed with stages
in 9 minutes and 17 seconds
...@@ -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;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment