From 3b9772ad5194f34602d8d44bdb336c4708336909 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 17 Nov 2025 19:32:57 -0500 Subject: Fix some compiler warnings --- arch/x86/yasm | 2 +- view/macho/machoview.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/yasm b/arch/x86/yasm index 52773899..ac850688 160000 --- a/arch/x86/yasm +++ b/arch/x86/yasm @@ -1 +1 @@ -Subproject commit 5277389974941672151253503910937387291437 +Subproject commit ac85068844e29535767c22638af4cc974083226b diff --git a/view/macho/machoview.cpp b/view/macho/machoview.cpp index f60a538c..7353e995 100644 --- a/view/macho/machoview.cpp +++ b/view/macho/machoview.cpp @@ -2951,7 +2951,7 @@ void MachoView::ParseDynamicTable(BinaryReader& reader, MachOHeader& header, BNS uint64_t offset = 0; char* name = NULL; // uint32_t flags = 0; - uint32_t type = 0; + // uint32_t type = 0; size_t i = 0; //bool done = false; while (i < tableSize) @@ -2969,7 +2969,7 @@ void MachoView::ParseDynamicTable(BinaryReader& reader, MachOHeader& header, BNS offset = 0; name = NULL; // flags = 0; - type = 0; + // type = 0; break; case BindOpcodeSetDylibOrdinalImmediate: ordinal = imm;break; case BindOpcodeSetDylibOrdinalULEB: ordinal = readLEB128(table, tableSize, i); break; @@ -2981,7 +2981,7 @@ void MachoView::ParseDynamicTable(BinaryReader& reader, MachOHeader& header, BNS {;} break; case BindOpcodeSetTypeImmediate: - type = imm; + // type = imm; break; case BindOpcodeSetAddendSLEB: /* addend = */ readSLEB128(table, tableSize, i); break; case BindOpcodeSetSegmentAndOffsetULEB: -- cgit v1.3.1