Well, in most campaign settings, magic is pretty common. I don't see how a code of ethics for magic would be formed unless a nation, country, or wide religion placed some sort of 'spiritual punishment' for casting spells without thought to harm. It would definately make a good fluff addition...