dbg: fix some clang warnings

Change-Id: Ie7137b5661eb4fbecd1a8e3703d943f9649c93e9