git: 1c3424b0d2e7 - main - rtld-elf: Remove set but unused variable on 32-bit arm.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 20 Jun 2023 16:29:29 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=1c3424b0d2e719f9e88cbeac3fd0abbe0886b0f0

commit 1c3424b0d2e719f9e88cbeac3fd0abbe0886b0f0
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-06-20 16:29:00 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-06-20 16:29:00 +0000

    rtld-elf: Remove set but unused variable on 32-bit arm.
---
 libexec/rtld-elf/arm/reloc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libexec/rtld-elf/arm/reloc.c b/libexec/rtld-elf/arm/reloc.c
index b85c8b1f4845..36e73b55aee1 100644
--- a/libexec/rtld-elf/arm/reloc.c
+++ b/libexec/rtld-elf/arm/reloc.c
@@ -91,7 +91,6 @@ _rtld_relocate_nonplt_self(Elf_Dyn *dynp, Elf_Addr relocbase)
 	const Elf_Rel *rel = NULL, *rellim;
 	Elf_Addr relsz = 0;
 	Elf_Addr *where;
-	uint32_t size;
 
 	for (; dynp->d_tag != DT_NULL; dynp++) {
 		switch (dynp->d_tag) {
@@ -104,7 +103,6 @@ _rtld_relocate_nonplt_self(Elf_Dyn *dynp, Elf_Addr relocbase)
 		}
 	}
 	rellim = (const Elf_Rel *)((const char *)rel + relsz);
-	size = (rellim - 1)->r_offset - rel->r_offset;
 	for (; rel < rellim; rel++) {
 		where = (Elf_Addr *)(relocbase + rel->r_offset);