fix CID 1249476:  Logically dead code