Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix warning in elf/tst-unique4lib.cc.
  • Loading branch information
Torvald Riegel committed Dec 16, 2014
1 parent 11e3417 commit 1469f46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -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>

[BZ #17630]
Expand Down
2 changes: 1 addition & 1 deletion elf/tst-unique4lib.cc
Expand Up @@ -6,7 +6,7 @@ int S<N>::i = N;
template<int N>
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<9>::i, S<10>::i, S<11>::i, S<12>::i, S<13>::i, S<14>::i, S<15>::i,
Expand Down

0 comments on commit 1469f46

Please sign in to comment.