Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/async_wrap.cc')
-rw-r--r--src/async_wrap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/async_wrap.cc b/src/async_wrap.cc
index 75e34c95b44..42e0171a9ca 100644
--- a/src/async_wrap.cc
+++ b/src/async_wrap.cc
@@ -310,6 +310,7 @@ static uint16_t ToAsyncHooksType(PromiseHookType type) {
case PromiseHookType::kAfter: return AsyncHooks::kAfter;
case PromiseHookType::kResolve: return AsyncHooks::kPromiseResolve;
}
+ UNREACHABLE();
}
// Simplified JavaScript hook fast-path for when there is no destroy hook