Muzzle break

If you had a brake so dirty you got the exit hole clogged with unburnt powder to where bullets were striking, you could obviously mess up accuracy, but that's sort of at the extreme.