Fix Prevent and remove compile warning messages

No match.