about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-08-15 10:23:07 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-08-15 10:23:07 -0700
commit778f77a4585c538211f79e717bae35fd650eee90 (patch)
treec04f9b93ec2e7053a8d52236e8e2d8ea58163b3b
parenta85b984021679f20792e6afdff752a2522640754 (diff)
downloadtext.love-778f77a4585c538211f79e717bae35fd650eee90.tar.gz
superfluous line
-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