summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/zlib/zlib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index a1da5f8211..45919202e4 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -3523,11 +3523,11 @@ rb_gzfile_path(VALUE obj)
static VALUE
gzfile_initialize_path_partial(VALUE obj)
{
- struct gzfile* gz;
- TypedData_Get_Struct(obj, struct gzfile, &gzfile_data_type, gz);
- gz->path = rb_funcall(gz->io, id_path, 0);
- rb_define_singleton_method(obj, "path", rb_gzfile_path, 0);
- return Qnil;
+ struct gzfile* gz;
+ TypedData_Get_Struct(obj, struct gzfile, &gzfile_data_type, gz);
+ gz->path = rb_funcall(gz->io, id_path, 0);
+ rb_define_singleton_method(obj, "path", rb_gzfile_path, 0);
+ return Qnil;
}
static void