Branch: Tag:

2015-08-02

2015-08-02 12:36:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed some warnings.

The inline function ptr_hashfun() is often not used.

49:   #ifndef PTR_HASH_HASHFUN_DEFINED   #define PTR_HASH_HASHFUN_DEFINED    - static INLINE PIKE_HASH_T ptr_hashfun(void * ptr) { + static INLINE PIKE_HASH_T PIKE_UNUSED_ATTRIBUTE ptr_hashfun(void * ptr) {    PIKE_HASH_T q = (size_t)((char*)ptr - (char*)0);    q ^= (q >> 20) ^ (q >> 12);    return q ^ (q >> 7) ^ (q >> 4);