TRQ-2691 Coverity issues for develop

Fixed coverity issue 1219929