Shoot Out is a 1971 Gregory Peck Western. This is a traditional revenge western with the addition of a little girl. I don't usually like westerns that feature kids, but this is a delightful character in a movie worth watching.
an early scene:
full film via Youtube:
The NYT has a mixed review, calling it " no more than another variation of the eternal tale of the Westerner (Gregory Peck) released from prison who seeks revenge on the pal who betrayed him".