Yes, unroot it if you do want for the warranty. But root your smartphone is also a process which will change some original data and i'm afraid you have to update your ROM. Actually the rooting app can finish that. I had an experience.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?