Fix warning in elf/tst-unique4lib.cc.

This commit is contained in:
Torvald Riegel 2014-12-15 22:05:06 +01:00
parent 11e3417af6
commit 1469f46696
2 changed files with 5 additions and 1 deletions

View File

@ -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]

View File

@ -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,