Removed two unused variables to avoid compiler warnings.