fix unused variable warnings
This commit is contained in:
parent
b367ab15fa
commit
3a5aa8e49c
2 changed files with 1 additions and 2 deletions
2
src/env/__init_tls.c
vendored
2
src/env/__init_tls.c
vendored
|
|
@ -56,7 +56,7 @@ typedef Elf64_Phdr Phdr;
|
||||||
void __init_tls(size_t *aux)
|
void __init_tls(size_t *aux)
|
||||||
{
|
{
|
||||||
unsigned char *p, *mem;
|
unsigned char *p, *mem;
|
||||||
size_t n, d;
|
size_t n;
|
||||||
Phdr *phdr, *tls_phdr=0;
|
Phdr *phdr, *tls_phdr=0;
|
||||||
size_t base = 0;
|
size_t base = 0;
|
||||||
|
|
||||||
|
|
|
||||||
1
src/env/__stack_chk_fail.c
vendored
1
src/env/__stack_chk_fail.c
vendored
|
|
@ -8,7 +8,6 @@ uintptr_t __stack_chk_guard;
|
||||||
|
|
||||||
void __init_ssp(void *entropy)
|
void __init_ssp(void *entropy)
|
||||||
{
|
{
|
||||||
size_t i;
|
|
||||||
pthread_t self = __pthread_self_init();
|
pthread_t self = __pthread_self_init();
|
||||||
uintptr_t canary;
|
uintptr_t canary;
|
||||||
if (entropy) memcpy(&canary, entropy, sizeof canary);
|
if (entropy) memcpy(&canary, entropy, sizeof canary);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue