saxophonit: Remove unused variables.
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 28 Nov 2014 17:31:16 +0000 (12:31 -0500)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 28 Nov 2014 19:06:58 +0000 (14:06 -0500)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

lib/saxophonit/saxophonit.nit
lib/saxophonit/testing.nit

index 1860db7..02e6104 100644 (file)
@@ -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
 
index c940b15..ba9c645 100644 (file)
@@ -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,