mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Fix warning in elf/tst-unique4lib.cc.
This commit is contained in:
parent
11e3417af6
commit
1469f46696
@ -1,3 +1,7 @@
|
|||||||
|
2014-12-16 Torvald Riegel <triegel@redhat.com>
|
||||||
|
|
||||||
|
* elf/tst-unique4lib.cc(a): Mark as used.
|
||||||
|
|
||||||
2014-12-16 Florian Weimer <fweimer@redhat.com>
|
2014-12-16 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
[BZ #17630]
|
[BZ #17630]
|
||||||
|
@ -6,7 +6,7 @@ int S<N>::i = N;
|
|||||||
template<int N>
|
template<int N>
|
||||||
const int S<N>::j __attribute__ ((used)) = -1;
|
const int S<N>::j __attribute__ ((used)) = -1;
|
||||||
|
|
||||||
static int a[24] =
|
static int a[24] __attribute__ ((used)) =
|
||||||
{
|
{
|
||||||
S<1>::i, S<2>::i, S<3>::i, S<4>::i, S<5>::i, S<6>::i, S<7>::i, S<8>::i,
|
S<1>::i, S<2>::i, S<3>::i, S<4>::i, S<5>::i, S<6>::i, S<7>::i, S<8>::i,
|
||||||
S<9>::i, S<10>::i, S<11>::i, S<12>::i, S<13>::i, S<14>::i, S<15>::i,
|
S<9>::i, S<10>::i, S<11>::i, S<12>::i, S<13>::i, S<14>::i, S<15>::i,
|
||||||
|
Loading…
Reference in New Issue
Block a user