chore: remove stale access to modifiedIndex_org (#2825)

Since c5dcced1cf,
modifiedIndex_org is only accessed in this place without any assignment.
This commit is contained in:
罗泽轩 2020-11-24 16:57:12 +08:00 committed by GitHub
parent b13f167445
commit 1ee7ead1e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,7 @@ local function set_modify_index(key, items, items_ver, global_max_index)
if items_ver and items then
for _, item in ipairs(items) do
if type(item) == "table" then
local modify_index = item.modifiedIndex_org or item.modifiedIndex
local modify_index = item.modifiedIndex
if modify_index > max_idx then
max_idx = modify_index
end