"notice beforehand of the consequences that will probably follow continuance in some particular course" [Century Dictionary], Old English warnung, verbal noun from warnian (see warn (v.)).
warmly
war-monger
warmth
warm-up
warn
warning
warp
war-path
warrant
warrantee
warranty