TS-1475: Fix Coverity # 1216790