Coverity: Negative returns: CID 121