Nobody ever said anything about hitting the dog. If you tell a dog not to growl, it's only showing it that warnings are pointless. This causes you to create a dog that bites without an obvious warning.

I'm not saying you should ignore the growling, but you need to address the problem and not the symptom. The dog is obviously uncomfortable about something and that issue should be addressed, not the dog telling you that it's uncomfortable.