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. 6
      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
{ {
writer.printType(local.getType().getHint()); if (!local.isRemoved()) {
writer.print(" " + local.getName().toString() + ";"); writer.printType(local.getType().getHint());
writer.println(" " + local.getName().toString() + ";");
}
} }
/** /**

Loading…
Cancel
Save