Removes duplicate variable assignment, sets default value for indention depth