Skip to content

Commit 806ebab

Browse files
authored
tweak(ini): No longer terminate application if an INI data field is not found (#1497)
1 parent 8f0a388 commit 806ebab

File tree

2 files changed

+0
-2
lines changed
  • GeneralsMD/Code/GameEngine/Source/Common/INI
  • Generals/Code/GameEngine/Source/Common/INI

2 files changed

+0
-2
lines changed

Generals/Code/GameEngine/Source/Common/INI/INI.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,6 @@ void INI::initFromINIMulti( void *what, const MultiIniFieldParse& parseTableList
15281528
{
15291529
DEBUG_ASSERTCRASH( 0, ("[LINE: %d - FILE: '%s'] Unknown field '%s' in block '%s'",
15301530
INI::getLineNum(), INI::getFilename().str(), field, m_curBlockStart) );
1531-
throw INI_UNKNOWN_TOKEN;
15321531
}
15331532

15341533
} // end else

GeneralsMD/Code/GameEngine/Source/Common/INI/INI.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1530,7 +1530,6 @@ void INI::initFromINIMulti( void *what, const MultiIniFieldParse& parseTableList
15301530
{
15311531
DEBUG_ASSERTCRASH( 0, ("[LINE: %d - FILE: '%s'] Unknown field '%s' in block '%s'",
15321532
INI::getLineNum(), INI::getFilename().str(), field, m_curBlockStart) );
1533-
throw INI_UNKNOWN_TOKEN;
15341533
}
15351534

15361535
} // end else

0 commit comments

Comments
 (0)