mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-03 18:51:42 +00:00
Remove unused variable
My first failing Unit Test caused by an unused variable
This commit is contained in:
parent
83b2f7b29f
commit
cde9fb0f0e
1 changed files with 1 additions and 3 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue