* clang support
This commit is contained in:
1 parent
f9cde509b2
commit
675e7a641a
9 files changed
+19
-14
No files matched your search
@@ -1173,7 +1173,7 @@ bot_matchpiece_t *BotLoadMatchPieces(source_t *source, char *endtoken)
|
||||
{
|
||||
if (token.type == TT_NUMBER && (token.subtype & TT_INTEGER))
|
||||
{
|
||||
if (token.intvalue < 0 || token.intvalue >= MAX_MATCHVARIABLES)
|
||||
if (token.intvalue >= MAX_MATCHVARIABLES)
|
||||
{
|
||||
SourceError(source, "can't have more than %d match variables\n", MAX_MATCHVARIABLES);
|
||||
FreeSource(source);
|
||||
|
||||
Reference in new issue
Block a user