diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-25 11:16:26 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-31 08:59:23 -0300 |
commit | f60510ddafc62b81ed551b46db9761e408559322 (patch) | |
tree | f1201f75ba50c21e6e244792eb74b7e9b43f46eb | |
parent | b2cd93fce666fdc8c9a5c64af2741a8a6940ac99 (diff) | |
download | glibc-f60510ddafc62b81ed551b46db9761e408559322.tar.gz glibc-f60510ddafc62b81ed551b46db9761e408559322.tar.xz glibc-f60510ddafc62b81ed551b46db9761e408559322.zip |
elf: Remove unused variables in tests
Checked on x86_64-linux-gnu and i686-linux-gnu.
-rw-r--r-- | elf/nodel2mod1.c | 2 | ||||
-rw-r--r-- | elf/reldep8mod1.c | 2 | ||||
-rw-r--r-- | elf/reldep9mod1.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/elf/nodel2mod1.c b/elf/nodel2mod1.c index acddc4cf8b..61d8c0edb0 100644 --- a/elf/nodel2mod1.c +++ b/elf/nodel2mod1.c @@ -9,9 +9,7 @@ void __attribute__((destructor)) bar (void) { - static int i; foo (); - ++i; } void baz (void) diff --git a/elf/reldep8mod1.c b/elf/reldep8mod1.c index acddc4cf8b..61d8c0edb0 100644 --- a/elf/reldep8mod1.c +++ b/elf/reldep8mod1.c @@ -9,9 +9,7 @@ void __attribute__((destructor)) bar (void) { - static int i; foo (); - ++i; } void baz (void) diff --git a/elf/reldep9mod1.c b/elf/reldep9mod1.c index 249a2bae1c..b75f9f1f1f 100644 --- a/elf/reldep9mod1.c +++ b/elf/reldep9mod1.c @@ -9,9 +9,7 @@ void __attribute__((destructor)) bar (void) { - static int i; foo (); - ++i; } void |