diff options
| author | Rusty Wagner <rusty@vector35.com> | 2020-11-10 21:50:58 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2020-11-10 21:50:58 -0500 |
| commit | c1da063a1b6e627212414fe7896fd964b0e3532a (patch) | |
| tree | 33e6ffed05c35e61f6034f26d10a368a00d4732d /examples/llil_parser | |
| parent | a1cecfa5245ecec8ae1530a979825827296f612f (diff) | |
Fix warnings
Diffstat (limited to 'examples/llil_parser')
| -rw-r--r-- | examples/llil_parser/src/llil_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/llil_parser/src/llil_parser.cpp b/examples/llil_parser/src/llil_parser.cpp index 8df89558..b7c96c22 100644 --- a/examples/llil_parser/src/llil_parser.cpp +++ b/examples/llil_parser/src/llil_parser.cpp @@ -272,7 +272,7 @@ static void PrintILExpr(const LowLevelILInstruction& instr, size_t indent) case SSARegisterListLowLevelOperand: PrintIndent(indent); printf("ssa reg list "); - for (auto& i : operand.GetSSARegisterList()) + for (auto i : operand.GetSSARegisterList()) { PrintRegister(instr.function, i.reg); printf("#%" PRIdPTR " ", i.version); @@ -283,7 +283,7 @@ static void PrintILExpr(const LowLevelILInstruction& instr, size_t indent) case SSAFlagListLowLevelOperand: PrintIndent(indent); printf("ssa reg list "); - for (auto& i : operand.GetSSAFlagList()) + for (auto i : operand.GetSSAFlagList()) { PrintFlag(instr.function, i.flag); printf("#%" PRIdPTR " ", i.version); |
