diff --git a/dtdinst/src/com/thaiopensource/xml/dtd/parse/AtomParser.java b/dtdinst/src/com/thaiopensource/xml/dtd/parse/AtomParser.java
index 4f805df0d3013deaf196fcb8a1b1c09d3656eb45..c72a7fb3f6a9c343c3beb1b3dfc9a5ae9e81636a 100644
--- a/dtdinst/src/com/thaiopensource/xml/dtd/parse/AtomParser.java
+++ b/dtdinst/src/com/thaiopensource/xml/dtd/parse/AtomParser.java
@@ -49,7 +49,7 @@ class AtomParser {
 	d = new Decl(Decl.REFERENCE_END);
       }
       else {
-	int action = doAction();
+	doAction();
 	switch (as.tokenType) {
 	case Tokenizer.TOK_COMMENT:
 	  d = new Decl(Decl.COMMENT);