windows: fix duplicate case build error
Mea culpa, the previous commit added another ERROR_FILENAME_EXCED_RANGE case to the switch statement in uv_translate_sys_error(). This commit fixes up the build error.
This commit is contained in:
parent
f2ab62ec10
commit
16fb1291a0
@ -162,7 +162,6 @@ int uv_translate_sys_error(int sys_errno) {
|
||||
case WSAETIMEDOUT: return UV_ETIMEDOUT;
|
||||
case ERROR_NOT_SAME_DEVICE: return UV_EXDEV;
|
||||
case ERROR_INVALID_FUNCTION: return UV_EISDIR;
|
||||
case ERROR_FILENAME_EXCED_RANGE: return UV_E2BIG;
|
||||
case ERROR_META_EXPANSION_TOO_LONG: return UV_E2BIG;
|
||||
default: return UV_UNKNOWN;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user