Fix compiler warning about unused function on Solaris

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16113
This commit is contained in:
Ivo Raisr 2016-11-02 22:07:11 +00:00
parent 7708e249b8
commit 5f128b048c

View File

@ -19,7 +19,7 @@
typedef int Bool;
/* Assumes the versions are x.y.z, with y and z optional. */
static Bool matches_version(char *min_version) {
static __attribute__((unused)) Bool matches_version(char *min_version) {
int a1=0, a2=0, a3=0, g1=0, g2=0, g3=0; // 'a' = actual; 'g' = given
const char *aversion;