Skip to content

Commit efd8f8d

Browse files
authored
🚨 Fix warning: assigned but unused variable - k (#953)
2 parents 75fbae3 + 9264d3a commit efd8f8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/phlex/fifo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def []=(key, value)
3636
@bytesize += value.bytesize
3737

3838
while @bytesize > @max_bytesize
39-
k, v = @store.shift
39+
_k, v = @store.shift
4040
@bytesize -= v[1].bytesize
4141
end
4242
end

0 commit comments

Comments
 (0)