chore: fix analyzer warnings