Skip to content

Commit 3781da1

Browse files
committed
restore suppression
1 parent 7f93f44 commit 3781da1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/compiler/compiler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ auto compiler::replace_last_pop_with_return() -> void
118118

119119
auto compiler::replace_instruction(const std::size_t pos, const instructions& instr) -> void
120120
{
121+
// cppcheck-suppress variableScope
121122
auto& target_instrs = m_scopes[m_scope_index].instrs;
122123
for (auto idx = 0UL; const auto& inst : instr) {
123124
target_instrs[pos + idx] = inst;

0 commit comments

Comments
 (0)