If you are not traveling with bags, you are fine. I guess you may be riding on the grey area of breaking the CoC, but it really existed to prevent people from deliberately booking hidden city tickets. IIRC, there is no rules saying if your plans change, you must change your ticket (instead of buying a new one).