Cleanup (unneeded variable)

master
Roman Shevchenko 10 years ago
parent c64b0aaa10
commit 38f1a1a9ee
  1. 4
      src/org/jetbrains/java/decompiler/modules/decompiler/ExprProcessor.java

@ -872,7 +872,6 @@ public class ExprProcessor implements CodeConstants {
boolean castAlways, boolean castAlways,
BytecodeMappingTracer tracer) { BytecodeMappingTracer tracer) {
boolean ret = false;
VarType rightType = exprent.getExprType(); VarType rightType = exprent.getExprType();
TextBuffer res = exprent.toJava(indent, tracer); TextBuffer res = exprent.toJava(indent, tracer);
@ -889,12 +888,11 @@ public class ExprProcessor implements CodeConstants {
} }
res.prepend("(" + getCastTypeName(leftType) + ")"); res.prepend("(" + getCastTypeName(leftType) + ")");
ret = true;
} }
buffer.append(res); buffer.append(res);
return ret; return cast;
} }
private static boolean isIntConstant(Exprent exprent) { private static boolean isIntConstant(Exprent exprent) {

Loading…
Cancel
Save