[refs #1266] Removed unused variables