> unlocking the bootloader will void your warranty (just as on Nexus devices)
Unlocking the bootloader on Nexus devices doesn't void the warranty on the hardware; it just removes support for the software. I had a Samsung Galaxy Nexus with a failed USB port. When troubleshooting clearly revealed it to be a hardware problem, Samsung replaced my device even though it was running CyanogenMod and very obviously had the unlocked padlock on the boot screen.
I used to sell and repair phones, for a number of years. Honestly it's a case-by-case basis, sometimes you'll be fine and they'll fix it no issues (like your example, I've seen that plenty of times, and I'd expect the Nexus line to have that happen more often)... but sometimes the vendors will just refuse. That's why the unlock screen says "may void your warranty". So, it's not completely cut-and-dried, but you'll have a much better chance of it with the Nexus line, in my experience (and yours!).
Yes, I should probably have been more clear on that; it's a "may void your warranty" in that if you've done it, they can refuse to honour the warranty, if they deem it appropriate, and there's technically nothing you can do about it.
Unlocking the bootloader on Nexus devices doesn't void the warranty on the hardware; it just removes support for the software. I had a Samsung Galaxy Nexus with a failed USB port. When troubleshooting clearly revealed it to be a hardware problem, Samsung replaced my device even though it was running CyanogenMod and very obviously had the unlocked padlock on the boot screen.