Assigning some variables which were in use without assignment