Fix elf/tst-unique4lib.cc warning.
commit66cadc058dd7ce8106624df5732ea69a484621b9
authorJoseph Myers <joseph@codesourcery.com>
Tue, 2 Dec 2014 21:29:54 +0000 (2 21:29 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 2 Dec 2014 21:29:54 +0000 (2 21:29 +0000)
treeaf486ab241192d0b8054ecfeb77c31c87e4a794e
parent0f0a1c82f5d8e7b8d24f9eddc2b7728abd3d5bc4
Fix elf/tst-unique4lib.cc warning.

This patch fixes a warning "tst-unique4lib.cc:17:12: warning: 'b'
defined but not used [-Wunused-variable]".  I'm not sure exactly what
aspects of the test are or are not significant for the issue it is
testing for; the patch makes the minimal change of marking the
variable with __attribute__ ((used)).

Tested for x86_64.

* elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
ChangeLog
elf/tst-unique4lib.cc