this commit fixes the coverty warnings CID 1437402 and CID 1437401 Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>