Github user blackdrag commented on a diff in the pull request:
https://github.com/apache/groovy/pull/214#discussion_r47784823
--- Diff:
src/main/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java ---
@@ -171,7 +171,7 @@
protected final ReturnAdder.ReturnStatementListener returnListener =
new ReturnAdder.ReturnStatementListener() {
public void returnStatementAdded(final ReturnStatement
returnStatement) {
- ClassNode returnType = checkReturnType(returnStatement);
+ checkReturnType(returnStatement);
--- End diff --
while true, that the variable is unused... for debugging purposes it helps
a lot to have that information there
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---