Fix unused-but-set-variable warnings

These are essentially dead code...

Test: presubmit
Bug: 197240255
Change-Id: If36fa244990cb7d101fce57bcd5d8115f8722064
2 files changed