From 905b5222e6c5a45a91dab68afecbd2f0118c6456 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Christophe=20Beaupr=C3=A9?= Date: Fri, 28 Nov 2014 12:31:16 -0500 Subject: [PATCH] saxophonit: Remove unused variables. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jean-Christophe Beaupré --- lib/saxophonit/saxophonit.nit | 2 -- lib/saxophonit/testing.nit | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/saxophonit/saxophonit.nit b/lib/saxophonit/saxophonit.nit index 1860db7..02e6104 100644 --- a/lib/saxophonit/saxophonit.nit +++ b/lib/saxophonit/saxophonit.nit @@ -125,7 +125,6 @@ class XophonReader end redef fun parse(input: InputSource) do - var stream: IStream var system_id: nullable MaybeError[String, Error] = null model.locator = new SAXLocatorImpl @@ -182,7 +181,6 @@ class XophonReader # Expect a `document` production. private fun expect_document: Bool do - var success = true var got_doctype = false var got_element = false diff --git a/lib/saxophonit/testing.nit b/lib/saxophonit/testing.nit index c940b15..ba9c645 100644 --- a/lib/saxophonit/testing.nit +++ b/lib/saxophonit/testing.nit @@ -190,8 +190,6 @@ class SAXEventLogger # in the specified entry. private fun diff_append_deletion(buf: Buffer, log: Array[Array[String]], entry_index: Int, sorted_mismatches: Collection[Int]) do - var sub_buf = new FlatBuffer - buf.append(term_deletion) buf.append("< {entry_index}|") diff_append_mismatch_entry(buf, log[entry_index], sorted_mismatches, -- 1.7.9.5