You can buy cable ends on fleabay for very little money. If you haven't got a spare then a dab of super glue on the end of the cable will stop it fraying.
A good a reason as any.I always use super glue.cos Im a lazy s--d.
Don't listen to them Kevin, the bikes knackered mate. I'll take it off your hands before it fails catastrophically on you. No problem.