diff --git a/shellpack_src/src/thpcompact/thpcompact.c b/shellpack_src/src/thpcompact/thpcompact.c index a53daf221..e1f16a95d 100644 --- a/shellpack_src/src/thpcompact/thpcompact.c +++ b/shellpack_src/src/thpcompact/thpcompact.c @@ -89,7 +89,6 @@ static void *worker(void *data) /* Align index to huge page boundary */ end_mapping = first_mapping + anon_thread_size; aligned = HPAGE_ALIGN(first_mapping); - i = aligned - first_mapping; /* Punch holes */ for (; aligned + HPAGESIZE/2 < end_mapping; aligned += HPAGESIZE) {