Sentence:  The boss gave him a <WSD>warning</WSD> that he would be fired if he did not desist from his behaviour. 
Meaning of the word marked with <WSD> tags:  Something spoken or written that is intended to warn.