From 89c2bd2475a5aeeed883bf3b50faddb0a0cb1153 Mon Sep 17 00:00:00 2001 From: Seph Gentle Date: Wed, 6 Jan 2021 17:18:02 +1100 Subject: [PATCH] Cleaned up a vcc warning --- src/utils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils.cpp b/src/utils.cpp index 4693c7b..ae8571d 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -45,6 +45,7 @@ napi_status throw_if_not_ok(napi_env env, napi_status status) { default: fprintf(stderr, "throw_if_not_ok %d\n", status); assert(0); + return napi_invalid_arg; // Unreachable but silences a vcc warning. } }