Fix analyzer warnings

We had a remarkable number of analyzer failures.

I'll fix the bots to analyze across the whole project
in a follow-up patch, that should prevent this
in the future.

@abarth
11 files changed
tree: f0cb8af0966ae8c89b9ece280b3a4fbdfa010a05
  1. examples/
  2. packages/