Skip to content

Commit

Permalink
feat: Remove unused set variable
Browse files Browse the repository at this point in the history
  • Loading branch information
travisstebbins committed Feb 13, 2025
1 parent a664044 commit a38f493
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1216,9 +1216,8 @@ export const V1_buildTypedGroupByFunctionExpression = (
.filter(isNonNullable)
.map((value) => value.parameters)
.flat();
const variables = new Set<string>();
topLevelLambdaParameters.forEach((variable) => {
if (!variables.has(variable.name) && !variable.genericType) {
if (!variable.genericType) {
const variableExpression = new VariableExpression(
variable.name,
precedingExpression.multiplicity,
Expand Down

0 comments on commit a38f493

Please sign in to comment.