Skip to content

Commit eda07ca

Browse files
committed
Remove redundant return in generated code
1 parent 06701a0 commit eda07ca

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/binary_parser.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -594,12 +594,7 @@ export class Parser {
594594
this.addRawCode(ctx);
595595
} else {
596596
this.addAliasedCode(ctx);
597-
}
598-
599-
if (this.alias) {
600597
ctx.pushCode(`return ${FUNCTION_PREFIX + this.alias}(0).result;`);
601-
} else {
602-
ctx.pushCode('return vars;');
603598
}
604599

605600
return ctx;

0 commit comments

Comments
 (0)