Skip to content

Commit 5ecf8d5

Browse files
committed
Light unused variable cleanup in Psuedo C/Obj-C Plugin
1 parent 40a395b commit 5ecf8d5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lang/c/pseudoc.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2808,7 +2808,6 @@ void PseudoCFunction::GetExpr_CONST_PTR(const BinaryNinja::HighLevelILInstructio
28082808
BinaryNinja::HighLevelILTokenEmitter& tokens, BinaryNinja::DisassemblySettings* settings,
28092809
BNOperatorPrecedence precedence, bool statement)
28102810
{
2811-
auto constant = instr.GetConstant<HLIL_CONST_PTR>();
28122811
tokens.AppendPointerTextToken(
28132812
instr, instr.GetConstant<HLIL_CONST_PTR>(), settings, AddressOfDataSymbols, precedence);
28142813
if (statement)

lang/c/pseudoobjc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ bool PseudoObjCFunction::GetExpr_GenericObjCRuntimeCall(uint64_t address, const
318318
if (parameterExprs.size() < 1)
319319
return false;
320320

321-
for (auto _ : selectorTokens)
321+
for ([[maybe_unused]] auto _ : selectorTokens)
322322
tokens.AppendOpenBracket();
323323

324324
GetExprText(parameterExprs[0], tokens, settings);

0 commit comments

Comments
 (0)