Resolve a clang-analyzer reported issue