silence some warnings

parent 971cfa1e
Pipeline #22453 passed with stages
in 9 minutes and 17 seconds
......@@ -725,7 +725,6 @@ void Building::InitPlatforms()
}//subroom
}//rooms
return true;
}
bool Building::InitInsideGoals()
{
......
......@@ -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;
}
......@@ -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;
}
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