Issue #2080547 by johnmcc, mrsinguyen, chertzog, Nafes: Remove Unused local variables from search module.