A red-flag warning will be in effect Wednesday in western parts of Los Angeles County amid warm conditions and dry Santa Ana winds.