Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
This commit is contained in:
parent
0ea3cde160
commit
b4f1960318
19 changed files with 23 additions and 27 deletions
|
@ -303,8 +303,7 @@ int16 ScriptVar::getValue() {
|
|||
}
|
||||
|
||||
error("Parameter is not an r-value");
|
||||
|
||||
//return 0;
|
||||
return 0; // for compilers that don't support NORETURN
|
||||
}
|
||||
|
||||
void ScriptVar::setValue(int16 value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue