[RDY] Fix clang analysis warnings. (5)

Continue #1478.
Get warning count back to zero.