Skip to content

Commit 7bebb24

Browse files
committed
fix unused locals from merge conflict
1 parent d3ddb48 commit 7bebb24

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/std/debug.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@ fn readCoffDebugInfo(allocator: *mem.Allocator, coff_file: File) !ModuleDebugInf
681681
try di.coff.loadSections();
682682
if (di.coff.getSection(".debug_info")) |sec| {
683683
// This coff file has embedded DWARF debug info
684+
_ = sec;
684685
// TODO: free the section data slices
685686
const debug_info_data = di.coff.getSectionData(".debug_info", allocator) catch null;
686687
const debug_abbrev_data = di.coff.getSectionData(".debug_abbrev", allocator) catch null;

src/Sema.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5809,7 +5809,6 @@ fn zirIntToPtr(sema: *Sema, block: *Scope.Block, inst: Zir.Inst.Index) InnerErro
58095809
return sema.mod.fail(&block.base, type_src, "expected pointer, found '{}'", .{type_res});
58105810
const ptr_align = type_res.ptrAlignment(sema.mod.getTarget());
58115811

5812-
const uncasted_operand = try sema.resolveInst(extra.rhs);
58135812
if (try sema.resolveDefinedValue(block, operand_src, operand_coerced)) |val| {
58145813
const addr = val.toUnsignedInt();
58155814
if (!type_res.isAllowzeroPtr() and addr == 0)

0 commit comments

Comments
 (0)