From c9c16c03c423c45fcb3461ca2e2a561599a48aed Mon Sep 17 00:00:00 2001 From: rickyes Date: Tue, 12 May 2020 00:54:38 +0800 Subject: [PATCH] src: delete unused variables to resolve compile time print warning PR-URL: https://github.com/nodejs/node/pull/33358 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: David Carlier --- src/large_pages/node_large_page.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/large_pages/node_large_page.cc b/src/large_pages/node_large_page.cc index 86fc6d4e42ade0..a4b109d1b0ef69 100644 --- a/src/large_pages/node_large_page.cc +++ b/src/large_pages/node_large_page.cc @@ -238,7 +238,6 @@ struct text_region FindNodeTextRegion() { } else { char* start = reinterpret_cast(hugepage_align_up(addr)); char* end = reinterpret_cast(hugepage_align_down(addr+size)); - size_t esize = end - start; if (end > start && (map.protection & VM_PROT_READ) != 0 && (map.protection & VM_PROT_EXECUTE) != 0) {