clang: fix some clang warnings for unused variables, but not all.