Skip to content

Commit 781d89c

Browse files
Cosmetic Changes
1 parent 17bdab4 commit 781d89c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

gif.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -439,16 +439,11 @@ local function open_gif(filename)
439439
end
440440
end
441441

442-
local max_used_color_index
443-
444442
repeat
445443
-- LZW_voc: [code] = {prefix_code, color_index}
446444
-- all the codes (CLEAR_VOC+2)...(first_undefined_code-2) are defined completely
447445
-- the code (first_undefined_code-1) has defined only its first component
448446
local code = read_code_from_stream()
449-
if code < CLEAR_VOC then
450-
max_used_color_index = math.max(max_used_color_index or 0, code)
451-
end
452447
if code == CLEAR_VOC then
453448
clear_LZW_voc()
454449
elseif code ~= END_OF_STREAM then

0 commit comments

Comments
 (0)