[chore] Fix a few luacheck errors (#8460)

Inadvertently introduced in <https://github.com/koreader/koreader/pull/8432> and <https://github.com/koreader/koreader/pull/8445>.
This commit is contained in:
Frans de Jonge
2021-11-21 18:41:07 +01:00
committed by GitHub
parent 217937a5bc
commit c11ea4f389
3 changed files with 1 additions and 3 deletions

View File

@@ -1308,7 +1308,7 @@ function ReaderHighlight:onHoldRelease()
end
return true
end
local long_final_hold = false
if self.hold_last_tv then
local hold_duration = TimeVal:now() - self.hold_last_tv