mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Fix build.
This commit is contained in:
parent
7f25e28d01
commit
567fbcd517
@ -5232,9 +5232,10 @@ static symbol *fetchlab(char *name)
|
||||
|
||||
static int is_variadic(symbol *sym)
|
||||
{
|
||||
arginfo *arg;
|
||||
|
||||
assert(sym->ident==iFUNCTN);
|
||||
arginfo *arg = sym->dim.arglist;
|
||||
while (arg->ident) {
|
||||
for (arg = sym->dim.arglist; arg->ident; arg++) {
|
||||
if (arg->ident == iVARARGS)
|
||||
return TRUE;
|
||||
arg++;
|
||||
|
Loading…
Reference in New Issue
Block a user