Skip to content

Commit

Permalink
Snapshot: remove unused `str' arg for .dump and .size
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Feb 22, 2022
1 parent 8b4d03e commit 5266fec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/mini_racer_extension/mini_racer_extension.cc
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ StartupData warm_up_snapshot_data_blob(StartupData cold_snapshot_blob,
return result;
}

static VALUE rb_snapshot_size(VALUE self, VALUE str) {
static VALUE rb_snapshot_size(VALUE self) {
SnapshotInfo* snapshot_info;
TypedData_Get_Struct(self, SnapshotInfo, &snapshot_type, snapshot_info);

Expand All @@ -884,7 +884,7 @@ static VALUE rb_snapshot_load(VALUE self, VALUE str) {
return Qnil;
}

static VALUE rb_snapshot_dump(VALUE self, VALUE str) {
static VALUE rb_snapshot_dump(VALUE self) {
SnapshotInfo* snapshot_info;
TypedData_Get_Struct(self, SnapshotInfo, &snapshot_type, snapshot_info);

Expand Down

0 comments on commit 5266fec

Please sign in to comment.