Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
src: delete unused variables to resolve compile time print warning
PR-URL: #33358
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
  • Loading branch information
rickyes authored and codebytere committed Jun 7, 2020
1 parent 548672d commit 82c43d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/large_pages/node_large_page.cc
Expand Up @@ -238,7 +238,6 @@ struct text_region FindNodeTextRegion() {
} else {
char* start = reinterpret_cast<char*>(hugepage_align_up(addr));
char* end = reinterpret_cast<char*>(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) {
Expand Down

0 comments on commit 82c43d1

Please sign in to comment.