From 4965eaedb1a911195c577f11a79b9bfcc25c658f Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 3 May 1999 10:58:02 +0000 Subject: [PATCH] don't declare `removed' locals git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@748 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/flow/StructuredBlock.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jode/jode/flow/StructuredBlock.java b/jode/jode/flow/StructuredBlock.java index a1843d6..471c26c 100644 --- a/jode/jode/flow/StructuredBlock.java +++ b/jode/jode/flow/StructuredBlock.java @@ -598,8 +598,10 @@ public abstract class StructuredBlock { public void dumpDeclaration(jode.decompiler.TabbedPrintWriter writer, LocalInfo local) throws java.io.IOException { - writer.printType(local.getType().getHint()); - writer.print(" " + local.getName().toString() + ";"); + if (!local.isRemoved()) { + writer.printType(local.getType().getHint()); + writer.println(" " + local.getName().toString() + ";"); + } } /**