Keep your contacts with him very non-commital and detached, without being unfriendly, and let him know you are aware of his girlfriend. If he does ANYTHING that you wouldn't like your own boyfriend to do, tell him you don't want to do that (e.g. accept a lift) out of respect for his girlfriend. That gives him the clear message that if he DOES decide to leave his girlfriend for you, which no one knows, he will be perfectly well aware that you don't tolerate unfaithfulness. He may as well know that from the start, or you could end up having to tolerate HIS.