Skip to content

Commit

Permalink
Fix golangci-lint ineffectual assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
elct9620 committed Jan 11, 2024
1 parent 2a17d29 commit a2735df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irep.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (ir *iRep) Execute(mrb *State) (Value, error) {

if opCode == opSelfSend {
regs[offset+int(a)] = regs[offset]
opCode = opSend
opCode = opSend //nolint:ineffassign
}

mid := ir.syms[b]
Expand Down

0 comments on commit a2735df

Please sign in to comment.