saying

No harm, no foul.

punishment

declares that

A breach of some code or law may have occurred but no damage has been done, so no punishment, apology or retribution is required.