diff options
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index a93d8739a9..13144a904f 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -657,7 +657,7 @@ pub const CObject = struct { .end_block => |block| switch (@as(BlockId, @enumFromInt(block.id))) { .Meta => {}, .Diag => { - var wip_diag = stack.pop(); + var wip_diag = stack.pop().?; errdefer wip_diag.deinit(gpa); const src_ranges = try wip_diag.src_ranges.toOwnedSlice(gpa); @@ -5915,7 +5915,7 @@ pub fn addCCArgs( try san_arg.appendSlice(arena, "fuzzer-no-link,"); } // Chop off the trailing comma and append to argv. - if (san_arg.popOrNull()) |_| { + if (san_arg.pop()) |_| { try argv.append(san_arg.items); // These args have to be added after the `-fsanitize` arg or |
