baff4a fixup the coverity fix

Authored and Committed by jjelen 2 years ago
    fixup the coverity fix