Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
src: use CHECK(false) in switch default case
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsakh committed Mar 26, 2019
1 parent 2dece7c commit a99125c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3277,7 +3277,7 @@ static ManagedEVPPKey GetPublicOrPrivateKeyFromJs(
is_public = false;
break;
default:
CHECK(!"Invalid key encoding type");
CHECK(false);
}

if (is_public) {
Expand Down

0 comments on commit a99125c

Please sign in to comment.