libunwind/Cleanup-remove-unused-variable.patch
2019-09-30 10:58:37 -04:00

25 lines
730 B
Diff

From 3f689c9ee1562c44506f563c381036be88fb82de Mon Sep 17 00:00:00 2001
From: Milian Wolff <milian.wolff@kdab.com>
Date: Tue, 24 Apr 2018 15:41:09 +0200
Subject: [PATCH 21/50] Cleanup: remove unused variable
---
src/x86_64/Ginit.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/x86_64/Ginit.c b/src/x86_64/Ginit.c
index 28e096f..76e183e 100644
--- a/src/x86_64/Ginit.c
+++ b/src/x86_64/Ginit.c
@@ -132,7 +132,6 @@ static int msync_validate (void *addr, size_t len)
static int mincore_validate (void *addr, size_t len)
{
unsigned char mvec[2]; /* Unaligned access may cross page boundary */
- size_t i;
/* mincore could fail with EAGAIN but we conservatively return -1
instead of looping. */
--
1.8.3.1