lint: Fix static analysis errors