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 <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
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

Lines changed: 0 additions & 3 deletions
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)