Removing dead variable