Fix unreachable_code warning on Windows
Fix unreachable_code warning on Windows

We are having a platform specific override on Windows, which makes the "None" path unreachable. This throws a warning on Windows. Gate the non-windows path by a `cfg()` attribute to remove the warning.
google/xi-editor,google/xi-editor,google/xi-editor,google/xi-editor