|
From: <sv...@va...> - 2016-11-02 22:07:18
|
Author: iraisr
Date: Wed Nov 2 22:07:11 2016
New Revision: 16113
Log:
Fix compiler warning about unused function on Solaris
Modified:
trunk/tests/libc_test.c
Modified: trunk/tests/libc_test.c
==============================================================================
--- trunk/tests/libc_test.c (original)
+++ trunk/tests/libc_test.c Wed Nov 2 22:07:11 2016
@@ -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;
|