Skip to content

Commit bf766c1

Browse files
sam-githubdanbev
authored andcommitted
src: remove unused INT_MAX constant
Node doesn't use it, and its not documented. Remove it. PR-URL: #27078 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent ff89670 commit bf766c1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/node_constants.cc

-3
Original file line numberDiff line numberDiff line change
@@ -1063,9 +1063,6 @@ void DefineCryptoConstants(Local<Object> target) {
10631063
NODE_DEFINE_CONSTANT(target, TLS1_3_VERSION);
10641064
#endif
10651065

1066-
// Unused by node, but removing it is semver-major.
1067-
NODE_DEFINE_CONSTANT(target, INT_MAX);
1068-
10691066
#if HAVE_OPENSSL
10701067
// NOTE: These are not defines
10711068
NODE_DEFINE_CONSTANT(target, POINT_CONVERSION_COMPRESSED);

0 commit comments

Comments
 (0)