I've never heard the warning shot recommendation. Shoot to kill - yes, but not one in the ceiling.
That was what I was told..And I have a very good memory..