If i get the mid box chopped off the exhaust would it affect the manufacturers warranty?

In other words does it void the warranty?