Browse Source

fix unused variable warnings

rs-1.0
Rich Felker 14 years ago
parent
commit
3a5aa8e49c
  1. 2
      src/env/__init_tls.c
  2. 1
      src/env/__stack_chk_fail.c

2
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;

1
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);

Loading…
Cancel
Save