Removing unused struct var