Fix clang-analyzer error