From 3a5aa8e49ce9a98725ceb311bb64f6168fc72d3e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 1 Nov 2012 22:58:17 -0400 Subject: [PATCH] fix unused variable warnings --- src/env/__init_tls.c | 2 +- src/env/__stack_chk_fail.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/env/__init_tls.c b/src/env/__init_tls.c index c341bfc1..c71f49c1 100644 --- a/src/env/__init_tls.c +++ b/src/env/__init_tls.c @@ -56,7 +56,7 @@ typedef Elf64_Phdr Phdr; void __init_tls(size_t *aux) { unsigned char *p, *mem; - size_t n, d; + size_t n; Phdr *phdr, *tls_phdr=0; size_t base = 0; diff --git a/src/env/__stack_chk_fail.c b/src/env/__stack_chk_fail.c index 3e2e4b6d..031a1ed7 100644 --- a/src/env/__stack_chk_fail.c +++ b/src/env/__stack_chk_fail.c @@ -8,7 +8,6 @@ uintptr_t __stack_chk_guard; void __init_ssp(void *entropy) { - size_t i; pthread_t self = __pthread_self_init(); uintptr_t canary; if (entropy) memcpy(&canary, entropy, sizeof canary); -- 2.25.1