don't declare `removed' locals

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@748 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent e03711ab7b
commit 4965eaedb1
  1. 4
      jode/jode/flow/StructuredBlock.java

@ -598,8 +598,10 @@ public abstract class StructuredBlock {
public void dumpDeclaration(jode.decompiler.TabbedPrintWriter writer, LocalInfo local) public void dumpDeclaration(jode.decompiler.TabbedPrintWriter writer, LocalInfo local)
throws java.io.IOException throws java.io.IOException
{ {
if (!local.isRemoved()) {
writer.printType(local.getType().getHint()); writer.printType(local.getType().getHint());
writer.print(" " + local.getName().toString() + ";"); writer.println(" " + local.getName().toString() + ";");
}
} }
/** /**

Loading…
Cancel
Save