mirror of
https://github.com/UOX3DevTeam/UOX3
synced 2026-08-13 12:27:04 -04:00
Fix compile warnings
This commit is contained in:
parent
a904ef7304
commit
285f06dbd2
36 changed files with 1097 additions and 1064 deletions
|
|
@ -2808,7 +2808,7 @@ auto CServerData::HirelingCombatTraining() const -> bool
|
|||
{
|
||||
return boolVals.test( BIT_HIRELINGCOMBATTRAINING );
|
||||
}
|
||||
auto CServerData::HirelingCombatTraining( bool newVal ) -> void
|
||||
auto CServerData::HirelingCombatTraining( bool /*newVal*/ ) -> void
|
||||
{
|
||||
boolVals.set( BIT_HIRELINGCOMBATTRAINING );
|
||||
}
|
||||
|
|
@ -4971,6 +4971,7 @@ auto CServerData::ParseIni( const std::string& filename ) -> bool
|
|||
}
|
||||
}
|
||||
}
|
||||
[[fallthrough]];
|
||||
case static_cast<int>( search_t::startsection ):
|
||||
{
|
||||
if( line[0] == '{' )
|
||||
|
|
@ -4978,6 +4979,7 @@ auto CServerData::ParseIni( const std::string& filename ) -> bool
|
|||
state = search_t::endsection;
|
||||
}
|
||||
}
|
||||
[[fallthrough]];
|
||||
case static_cast<int>( search_t::endsection ):
|
||||
{
|
||||
if( line[0] != '}' )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue