From bf766c1b44c68b47153339b84e12bef0f33e7ee7 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Wed, 3 Apr 2019 14:30:47 -0700 Subject: [PATCH] src: remove unused INT_MAX constant Node doesn't use it, and its not documented. Remove it. PR-URL: https://github.com/nodejs/node/pull/27078 Reviewed-By: Anna Henningsen Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- src/node_constants.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/node_constants.cc b/src/node_constants.cc index ddb2bdda1f1249..17236fd31db044 100644 --- a/src/node_constants.cc +++ b/src/node_constants.cc @@ -1063,9 +1063,6 @@ void DefineCryptoConstants(Local 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);