Another way to say "A fire alarm warns of a fire." is "A warning of fire may come from a fire alarm."