mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 04:29:18 +02:00
reformat: remove redundant 'else' keyword
This commit is contained in:
@@ -2302,21 +2302,27 @@ event_manager::insert( basic_event *Event ) {
|
||||
return false;
|
||||
}
|
||||
// tymczasowo wyjątki:
|
||||
else if( Event->m_name.ends_with("lineinfo:") ) {
|
||||
// tymczasowa utylizacja duplikatów W5
|
||||
return false;
|
||||
}
|
||||
else if( Event->m_name.ends_with("_warning") ) {
|
||||
// tymczasowa utylizacja duplikatu z trąbieniem
|
||||
return false;
|
||||
}
|
||||
else if( Event->m_name.ends_with("_shp") ) {
|
||||
// nie podlegają logowaniu
|
||||
// tymczasowa utylizacja duplikatu SHP
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Event->m_name.ends_with("lineinfo:"))
|
||||
{
|
||||
// tymczasowa utylizacja duplikatów W5
|
||||
return false;
|
||||
}
|
||||
if (Event->m_name.ends_with("_warning"))
|
||||
{
|
||||
// tymczasowa utylizacja duplikatu z trąbieniem
|
||||
return false;
|
||||
}
|
||||
else if (Event->m_name.ends_with("_shp"))
|
||||
{
|
||||
// nie podlegają logowaniu
|
||||
// tymczasowa utylizacja duplikatu SHP
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
auto *duplicate = m_events[ lookup->second ];
|
||||
auto *duplicate = m_events[ lookup->second ];
|
||||
if( Global.bJoinEvents ) {
|
||||
// doczepka (taki wirtualny multiple bez warunków)
|
||||
duplicate->append( Event );
|
||||
|
||||
Reference in New Issue
Block a user