From: Julian Seward Date: Fri, 20 Jun 2014 14:25:53 +0000 (+0000) Subject: Mark unused functions as unused, to keep Clang happy. X-Git-Tag: svn/VALGRIND_3_10_0~370 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd31a6732dc89d4c3c8bed2fb771334da372419f;p=thirdparty%2Fvalgrind.git Mark unused functions as unused, to keep Clang happy. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14067 --- diff --git a/helgrind/libhb_core.c b/helgrind/libhb_core.c index 277e565a55..5946debb8b 100644 --- a/helgrind/libhb_core.c +++ b/helgrind/libhb_core.c @@ -517,6 +517,7 @@ typedef #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 VtsID SVal__unC_Wmin ( SVal s ) { static inline Bool SVal__isA ( SVal s ) { return (2ULL << 62) == (s & SVAL_TAGMASK); } +__attribute__((unused)) static inline SVal SVal__mkA ( void ) { return 2ULL << 62; }