You cannot eat a pet......... But if it has no name, and is one of a herd, it is a tasty meal. One warthog was a 10m pet ( minimum approach 10m before disappearance) of sorts, in that I would walk near it with no problems, as long as I was not carrying anything long ( survivor of the pogrom to eradicate them) or was not driving a red vehicle ( game warden had a red pickup). I would not have shot him, but enjoyed one of his offspring as sunday lunch, I was too used to having the big guy around the workshop complex.