In my experience, “Beware of dog” signage isn’t driven so much by vicious dogs as by vicious lawyers.
Well, and sometimes people who want to do something more to ward off intruders.