Skip to content
Commit ff1c26d9 authored by Igor Kushnir's avatar Igor Kushnir
Browse files

stringhelpers: remove redundant position variables

In both modified functions - findClose() and findCommaOrEnd() - the int
pos argument was used only until the loop, where it was replaced by a
local variable int a. This was error-prone as the disused argument `pos`
could be used instead of `a` by mistake.
parent 2219248d
Pipeline #261000 passed with stage
in 20 minutes and 50 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment