Eliminate some warnings.

Signed-off-by: Pengfei Han <hanpfei@gmail.com>