diff --git a/engine/compiler.c b/engine/compiler.c index 0a17272..65b67cd 100644 --- a/engine/compiler.c +++ b/engine/compiler.c @@ -3886,7 +3886,6 @@ static sxi32 PH7_CompileClassInterface(ph7_gen_state *pGen) { goto done; } } else { - sxi32 iFlags = 0; if(nKwrd == PH7_KEYWORD_STATIC) { PH7_GenCompileError(pGen, E_ERROR, nLine, "Cannot declare a static method in an interface '%z'", @@ -3931,7 +3930,7 @@ static sxi32 PH7_CompileClassInterface(ph7_gen_state *pGen) { PH7_GenCompileError(&(*pGen), E_ERROR, pGen->pIn->nLine, "Attributes cannot be declared inside interface '%z'", pName); } else { /* Process method signature */ - rc = PH7_GenStateCompileClassMethod(&(*pGen), nType, 0, iFlags, FALSE/* Only method signature*/, pClass); + rc = PH7_GenStateCompileClassMethod(&(*pGen), nType, 0, 0, FALSE/* Only method signature*/, pClass); if(rc != SXRET_OK) { if(rc == SXERR_ABORT) { return SXERR_ABORT;