unused variables detected by clang