TRQ-2691 Coverity issues in develop

fixed issue 1016562