TS-1427: Fixing clang analyzer warning about unused variable