Removed to unused variable declarations.

It seems that the compiler does not detect variables that are unused but have been initialized, probably because the initialization may have side effects. Removed two variables unused after having been declared.