Red Flag

What does the idiom “Red Flag” mean?

Definition:

A warning; a sign of trouble ahead

For example:

“Jennifer always drinks too much when we go out after work. I was thinking of promoting her, but that’s a red flag.”