about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--undo.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/undo.lua b/undo.lua
index 2db36ac..9e55fe8 100644
--- a/undo.lua
+++ b/undo.lua
@@ -57,7 +57,6 @@ function snapshot(State, s,e)
   }
   -- deep copy lines without cached stuff like text fragments
   for i=s,e do
-    local line = State.lines[i]
     table.insert(event.lines, State.lines[i])
   end
   return event