Skip to content

Commit 99204d4

Browse files
committed
remove unused variables
1 parent 2a01efe commit 99204d4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/test_encoding.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def test_insert_encoding
3232
stmt = db.prepare @insert
3333

3434
['US-ASCII', 'UTF-16LE', 'UTF-16BE', 'EUC-JP', 'UTF-8'].each_with_index do |enc,i|
35-
str2 = str.encode(enc)
3635
stmt.bind_param 1, i
3736
stmt.bind_param 2, str.encode(enc)
3837
stmt.to_a

0 commit comments

Comments
 (0)