Default [Q] Root & Warranty

If I Rooted my Phone (Alcatel One Touch Pop C5) the warranty will be voided But if i permanently unRoot or Temporarily unroot my phone again because something happened to it and i want to use the warranty (and if i haven't use custom roms or modified my Phone) will the Warranty be unvoided or it will still be voided ?