Remove unused variable

My first failing Unit Test caused by an unused variable
This commit is contained in:
PhoenixWhitefire 2024-08-11 16:22:17 +05:30 committed by GitHub
parent 83b2f7b29f
commit cde9fb0f0e
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -2658,8 +2658,6 @@ private:
if (!errmsg->is<AstExprConstantString>()) if (!errmsg->is<AstExprConstantString>())
return true; return true;
AstExprConstantString* string = errmsg->as<AstExprConstantString>();
emitWarning( emitWarning(
*context, *context,
LintWarning::Code_CollapseClauseToAssert, LintWarning::Code_CollapseClauseToAssert,