aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-28 12:06:46 +0000
committergingerBill <bill@gingerbill.org>2023-01-28 12:09:24 +0000
commitc45ca1bfcccb9b8f001a62a52c56eeeb5c73be88 (patch)
treec4c79f9da168c82039df23c22fcdacebb3698ad0 /src/build_settings.cpp
parent94edf89b20d7bef9b9afef82a2d306657e3ace26 (diff)
Correct `arena_temp_end` usage when no allocation ever happens for that arena
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index 90e6512c5..904428602 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -1050,7 +1050,6 @@ gb_internal bool has_asm_extension(String const &path) {
// temporary
gb_internal char *token_pos_to_string(TokenPos const &pos) {
- TEMPORARY_ALLOCATOR_GUARD();
gbString s = gb_string_make_reserve(temporary_allocator(), 128);
String file = get_file_path_string(pos.file_id);
switch (build_context.ODIN_ERROR_POS_STYLE) {