mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 01:42:12 +00:00
Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton
This commit is contained in:
parent
69a7ada911
commit
9dc32d55e2
30 changed files with 63 additions and 61 deletions
|
@ -990,7 +990,7 @@ int PS_ExpectTokenType(script_t *script, int type, int subtype, token_t *token)
|
|||
if (token->subtype != subtype)
|
||||
{
|
||||
ScriptError(script, "expected %s, found %s",
|
||||
script->punctuations[subtype], token->string);
|
||||
script->punctuations[subtype].p, token->string);
|
||||
return 0;
|
||||
} //end if
|
||||
} //end else if
|
||||
|
@ -1158,7 +1158,7 @@ float ReadSignedFloat(script_t *script)
|
|||
{
|
||||
if(!PS_ExpectAnyToken(script, &token))
|
||||
{
|
||||
ScriptError(script, "Missing float value\n", token.string);
|
||||
ScriptError(script, "Missing float value\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1189,7 +1189,7 @@ signed long int ReadSignedInt(script_t *script)
|
|||
{
|
||||
if(!PS_ExpectAnyToken(script, &token))
|
||||
{
|
||||
ScriptError(script, "Missing integer value\n", token.string);
|
||||
ScriptError(script, "Missing integer value\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue