unused variable $result