Skip to content

Commit

Permalink
src: remove unused INT_MAX constant
Browse files Browse the repository at this point in the history
Node doesn't use it, and its not documented. Remove it.
  • Loading branch information
sam-github committed Apr 8, 2019
1 parent d11c4be commit dbbcfec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/node_constants.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1063,9 +1063,6 @@ void DefineCryptoConstants(Local<Object> target) {
NODE_DEFINE_CONSTANT(target, TLS1_3_VERSION);
#endif

// Unused by node, but removing it is semver-major.
NODE_DEFINE_CONSTANT(target, INT_MAX);

#if HAVE_OPENSSL
// NOTE: These are not defines
NODE_DEFINE_CONSTANT(target, POINT_CONVERSION_COMPRESSED);
Expand Down

0 comments on commit dbbcfec

Please sign in to comment.