You don't technically need a warranty for your solar charge controller, but having one doesn't hurt.
Parts do wear out on occasion, so having a warranty is a good idea for solar equipment, especially MPPT and PWM charge controllers as they can get quite expensive. Most charge controller warranties will protect you for three to five years, but you should always check before buying.