[refs #1248] Removed unused local variables