testing removal of unused variables

1332, 1336, 4816