The gun used in a fatal shooting on a movie set in New Mexico earlier this week had been declared safe to use by a crew member just before it was discharged, court records show. The shooting happened hours after some workers walked off the job to protest safety conditions on set.