OUT WEST is a parody of the western genre by the Three Stooges. Also in the cast are Jock Mahoney and Christine McIntyre.
who have locked Jock Mahoney in a cell. The bad guys mistakenly think that Shemp's "vein" is a vein of gold, and scheme to steal his supposed mine. The Stooges are able to free Jock Mahoney, who rides to summon the cavalry. But by the time the cavalry gets there, the bad guys are knocked cold by an explosion of dynamite accidently lit by Shemp.
For some reason, no commentators have suggested that the bad guys were killed in this story, although it ends in the same way as NO DOUGH, BOYS.
Two films that end the same way end the same way. Period.