[TASK] Remove an unused variable and define an undefined one