[refs #1281] Removed unused local variables