Skip to content

Commit

Permalink
src: delete unused variables to resolve compile time print warning
Browse files Browse the repository at this point in the history
PR-URL: #33358
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: David Carlier <[email protected]>
  • Loading branch information
rickyes authored and codebytere committed May 16, 2020
1 parent 066ca98 commit c9c16c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/large_pages/node_large_page.cc
Original file line number Diff line number Diff line change
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 c9c16c0

Please sign in to comment.