Jailbreaking a device doesn’t void its warranty in many/most places; consumer protection laws override those illegal warranty lines that say otherwise. If you ever have real trouble getting something fixed on your device just reset it to a non-jailbroken stare and they won’t know the software was ever modified.