Uncertainty kills morale very quickly. I think the most important thing is to be clear about why they were fired, so your well-performing employees know they are safe.
Of course, if you tell everyone you fired someone because of X, anyone else who does X will be worried. That may or may not be a good thing.