Skip to content

Commit 792e290

Browse files
authored
Merge pull request #454 from sparklemotion/remove-unused-code
Remove unused code
2 parents dc4c05c + 56e5749 commit 792e290

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ext/sqlite3/statement.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,7 @@ static VALUE step(VALUE self)
107107

108108
if(ctx->done_p) return Qnil;
109109

110-
{
111-
VALUE db = rb_iv_get(self, "@connection");
112-
rb_funcall(db, rb_intern("encoding"), 0);
113-
internal_encoding = rb_default_internal_encoding();
114-
}
110+
internal_encoding = rb_default_internal_encoding();
115111

116112
stmt = ctx->st;
117113

0 commit comments

Comments
 (0)