loplugin:literaltoboolconversion

Change-Id: I7457e47866bd327cfc32a0b2d43ebd04c3c68dbc
loplugin:unreffun

Change-Id: Ifd544db272652e1e9c45093291ab7f8ae3dd53a0