2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

cleanup: get rid of the variable that is no longer needed.

This commit is contained in:
Tigran Aivazian 2012-09-09 01:00:43 +01:00
parent 44df8027f7
commit 27340db68b

View File

@ -1765,7 +1765,6 @@ function UniReader:showToc()
local abs_item_no = math.abs(item_no) local abs_item_no = math.abs(item_no)
local xidx = self.toc_curidx_to_x[abs_item_no] local xidx = self.toc_curidx_to_x[abs_item_no]
if self.toc_children[xidx] then if self.toc_children[xidx] then
local i
if item_no > 0 then if item_no > 0 then
self:expandTOCItem(xidx, item_no) self:expandTOCItem(xidx, item_no)
else else