summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/file.c b/file.c
index ee57381ed7..80210b8456 100644
--- a/file.c
+++ b/file.c
@@ -185,7 +185,6 @@ VALUE
rb_str_encode_ospath(VALUE path)
{
#ifdef _WIN32
- char *s;
rb_encoding *enc = rb_enc_get(path);
if (enc != rb_ascii8bit_encoding()) {
rb_encoding *utf8 = rb_utf8_encoding();