AGS: Fix Some GCC Warnings

This commit is contained in:
D G Turner 2021-07-11 21:59:00 +01:00
parent 789e8b1a4d
commit 4a131203ab
2 changed files with 4 additions and 0 deletions

View File

@ -266,6 +266,8 @@ const char *GetScriptAPIName(ScriptAPIVersion v) {
case kScriptAPI_v350: return "v3.5.0-alpha";
case kScriptAPI_v3507: return "v3.5.0-final";
case kScriptAPI_v351: return "v3.5.1";
case kScriptAPI_v360: return "v3.6.0";
case kScriptAPI_Undefined: return "undefined";
}
return "unknown";
}

View File

@ -36,6 +36,8 @@ String GetDataExtErrorText(DataExtErrorType err) {
return "Unexpected end of file.";
case kDataExtErr_BlockDataOverlapping:
return "Block data overlapping.";
case kDataExtErr_BlockNotFound:
return "Block not found.";
}
return "Unknown error.";
}