Removing unsed variable from declaration