about summary refs log tree commit diff
path: root/elf/reldep8mod1.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-25 11:16:26 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-31 08:59:23 -0300
commitf60510ddafc62b81ed551b46db9761e408559322 (patch)
treef1201f75ba50c21e6e244792eb74b7e9b43f46eb /elf/reldep8mod1.c
parentb2cd93fce666fdc8c9a5c64af2741a8a6940ac99 (diff)
downloadglibc-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.
Diffstat (limited to 'elf/reldep8mod1.c')
-rw-r--r--elf/reldep8mod1.c2
1 files changed, 0 insertions, 2 deletions
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)