diff options
| author | gingerBill <bill@gingerbill.org> | 2020-09-26 16:02:03 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-09-26 16:02:03 +0100 |
| commit | 840af6825aa5a728bb7fab3be24edff34aa3d571 (patch) | |
| tree | 209fb558042e30cf1ea3d090c3a14ca3f320326e /core/runtime/default_allocators.odin | |
| parent | 3ccaf47566f31d22daf3493f8fdcaea4fa825748 (diff) | |
Update packages os, path, and filepath
Diffstat (limited to 'core/runtime/default_allocators.odin')
| -rw-r--r-- | core/runtime/default_allocators.odin | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/runtime/default_allocators.odin b/core/runtime/default_allocators.odin index a132b7a4f..052bbc91f 100644 --- a/core/runtime/default_allocators.odin +++ b/core/runtime/default_allocators.odin @@ -110,9 +110,7 @@ default_temp_allocator_proc :: proc(allocator_data: rawptr, mode: Allocator_Mode } last_ptr := rawptr(&allocator.data[allocator.prev_offset]); if old_memory == last_ptr { - full_size := allocator.curr_offset - allocator.prev_offset; allocator.curr_offset = allocator.prev_offset; - mem_zero(last_ptr, full_size); return nil; } else { #no_bounds_check start, end := &allocator.data[0], &allocator.data[allocator.curr_offset]; |