For the first, I've opted for a more invasive change to the function since the control was harder to reason about, but I could provide a more minimal fix to the problems reported if that would be preferred.
Static analyzer notes about the issues are in the commit messages, which I can also remove if that would be preferred.
For the first, I've opted for a more invasive change to the function since the control was harder to reason about, but I could provide a more minimal fix to the problems reported if that would be preferred.
Static analyzer notes about the issues are in the commit messages, which I can also remove if that would be preferred.