Skip to content

Commit

Permalink
Cleaned up a vcc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
josephg committed Jan 6, 2021
1 parent 589b721 commit 89c2bd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
}

Expand Down

0 comments on commit 89c2bd2

Please sign in to comment.