From 16fb1291a0214b5d7db6bad239d568b1307809af Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sun, 20 Oct 2013 15:38:19 +0200 Subject: [PATCH] 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. --- src/win/error.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/win/error.c b/src/win/error.c index bcaf4ced..88d30d9f 100644 --- a/src/win/error.c +++ b/src/win/error.c @@ -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; }