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/mlil_parser/src/mlil_parser.cpp | |
| parent | a1cecfa5245ecec8ae1530a979825827296f612f (diff) | |
Fix warnings
Diffstat (limited to 'examples/mlil_parser/src/mlil_parser.cpp')
| -rw-r--r-- | examples/mlil_parser/src/mlil_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mlil_parser/src/mlil_parser.cpp b/examples/mlil_parser/src/mlil_parser.cpp index 1a347dc3..e14c9317 100644 --- a/examples/mlil_parser/src/mlil_parser.cpp +++ b/examples/mlil_parser/src/mlil_parser.cpp @@ -213,7 +213,7 @@ static void PrintILExpr(const MediumLevelILInstruction& instr, size_t indent) case VariableListMediumLevelOperand: PrintIndent(indent); printf("var list "); - for (auto& i : operand.GetVariableList()) + for (auto i : operand.GetVariableList()) { PrintVariable(instr.function, i); printf(" "); @@ -224,7 +224,7 @@ static void PrintILExpr(const MediumLevelILInstruction& instr, size_t indent) case SSAVariableListMediumLevelOperand: PrintIndent(indent); printf("ssa var list "); - for (auto& i : operand.GetSSAVariableList()) + for (auto i : operand.GetSSAVariableList()) { PrintVariable(instr.function, i.var); printf("#%" PRIdPTR " ", i.version); |
