test(warnings): fix analyzer warnings