aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-22 16:47:54 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-22 16:47:54 +0000
commit79c9b9feb45d175d4a394edd9ecf89cde97890c4 (patch)
treeb0982bb70fbec042629d2f2f2bf19347f917d44f /sysdeps
parentc60d3bf2fa54298f2dcdea1cceda63e0c0b14ae3 (diff)
downloadglibc-79c9b9feb45d175d4a394edd9ecf89cde97890c4.zip
glibc-79c9b9feb45d175d4a394edd9ecf89cde97890c4.tar.gz
glibc-79c9b9feb45d175d4a394edd9ecf89cde97890c4.tar.bz2
Mark unwind-dw2-fde-glibc.c variable possibly unused.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/unwind-dw2-fde-glibc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/unwind-dw2-fde-glibc.c b/sysdeps/generic/unwind-dw2-fde-glibc.c
index 356428c..25f4c73 100644
--- a/sysdeps/generic/unwind-dw2-fde-glibc.c
+++ b/sysdeps/generic/unwind-dw2-fde-glibc.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2002, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2012 Free Software Foundation, Inc.
Contributed by Jakub Jelinek <jakub@redhat.com>.
This file is part of the GNU C Library.
@@ -85,7 +85,8 @@ static int
_Unwind_IteratePhdrCallback (struct dl_phdr_info *info, size_t size, void *ptr)
{
struct unw_eh_callback_data *data = (struct unw_eh_callback_data *) ptr;
- const ElfW(Phdr) *phdr, *p_eh_frame_hdr, *p_dynamic;
+ const ElfW(Phdr) *phdr, *p_eh_frame_hdr;
+ const ElfW(Phdr) *p_dynamic __attribute__ ((unused));
long n, match;
_Unwind_Ptr load_base;
const unsigned char *p;