mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix compile error w/ -DCALC_EXACT_MALLOC_SIZE
This commit is contained in:
parent
ce586107d8
commit
97fa6468dc
1 changed files with 0 additions and 4 deletions
4
gc.c
4
gc.c
|
@ -9872,8 +9872,6 @@ objspace_malloc_fixup(rb_objspace_t *objspace, void *mem, size_t size)
|
|||
info->gen = objspace->profile.count;
|
||||
info->file = ruby_malloc_info_file;
|
||||
info->line = info->file ? ruby_malloc_info_line : 0;
|
||||
#else
|
||||
info->file = NULL;
|
||||
#endif
|
||||
mem = info + 1;
|
||||
}
|
||||
|
@ -10269,8 +10267,6 @@ ruby_mimmalloc(size_t size)
|
|||
info->gen = 0;
|
||||
info->file = NULL;
|
||||
info->line = 0;
|
||||
#else
|
||||
info->file = NULL;
|
||||
#endif
|
||||
mem = info + 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue