Groovy

In Groovy file, a variable assigned to in a catch clause that is NOT the last clause and the variable is indeed used after the whole try/catch(es)-block is incorrectly inspected as "Assignment is not used"