cleanup: unused variable local_svar