Mark unused functions as unused, to keep Clang happy.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14067 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/helgrind/libhb_core.c b/helgrind/libhb_core.c
index 277e565..5946deb 100644
--- a/helgrind/libhb_core.c
+++ b/helgrind/libhb_core.c
@@ -517,6 +517,7 @@
#define SecMap_MAGIC 0x571e58cbU
+__attribute__((unused))
static inline Bool is_sane_SecMap ( SecMap* sm ) {
return sm != NULL && sm->magic == SecMap_MAGIC;
}
@@ -3789,6 +3790,7 @@
static inline Bool SVal__isA ( SVal s ) {
return (2ULL << 62) == (s & SVAL_TAGMASK);
}
+__attribute__((unused))
static inline SVal SVal__mkA ( void ) {
return 2ULL << 62;
}