[relate] Fix warnings (unused variables)