summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/env/__init_tls.c2
-rw-r--r--src/env/__stack_chk_fail.c1
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);