diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-01 22:58:17 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-01 22:58:17 -0400 |
commit | 3a5aa8e49ce9a98725ceb311bb64f6168fc72d3e (patch) | |
tree | 3a9d1c90b94149b7538135423e0bbe2fe28fefd3 | |
parent | b367ab15fa68a59c8532f8d06f5d1b01aa5a5c7a (diff) | |
download | musl-3a5aa8e49ce9a98725ceb311bb64f6168fc72d3e.tar.gz musl-3a5aa8e49ce9a98725ceb311bb64f6168fc72d3e.tar.bz2 musl-3a5aa8e49ce9a98725ceb311bb64f6168fc72d3e.tar.xz musl-3a5aa8e49ce9a98725ceb311bb64f6168fc72d3e.zip |
fix unused variable warnings
-rw-r--r-- | src/env/__init_tls.c | 2 | ||||
-rw-r--r-- | src/env/__stack_chk_fail.c | 1 |
2 files changed, 1 insertions, 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); |