mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-03 02:33:38 +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
|
@ -2657,9 +2657,7 @@ private:
|
|||
// Don't give the suggestion in this case, we don't want to slow people's code down.
|
||||
if (!errmsg->is<AstExprConstantString>())
|
||||
return true;
|
||||
|
||||
AstExprConstantString* string = errmsg->as<AstExprConstantString>();
|
||||
|
||||
|
||||
emitWarning(
|
||||
*context,
|
||||
LintWarning::Code_CollapseClauseToAssert,
|
||||
|
|
Loading…
Add table
Reference in a new issue