Cleanup (unneeded variable)

This commit is contained in:
Roman Shevchenko 2014-10-24 21:49:02 +02:00
parent c64b0aaa10
commit 38f1a1a9ee

View File

@ -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) {