[RFC] Fix clang analysis warnings. (5)

Continue #1478.
Get warning count back to zero.
Oh, sorry. That was just a dumb mistake. In fact, g prefix is totally misleading. I will change that. Thanks for pointing out.