They are not warning shots, they are the result of poor aim.
"I was in fear for my life and acted in self defense. My aim must have been off. Once he stopped the threat ended"
because really the only time you can fire a gun like that in in fear for your life when shooting them is also justified.

My guess is he would have been charged either way, it is just how the DA & judge will see it later