The simple answer is no. Developer options have nothing to do with the warrant of your device. However, if you root your Android phone, it does void the warranty. Note that rooting is completely different from enabling the developer options. You can read more about Android rooting here.