HB_UNUSED is unneeded on static inline functions
This commit is contained in:
parent
4ce578ed36
commit
eaf29edb8f
@ -62,7 +62,7 @@ typedef struct {
|
||||
#define HB_DEBUG_OBJECT HB_DEBUG+0
|
||||
#endif
|
||||
|
||||
static HB_UNUSED inline hb_bool_t /* always returns TRUE */
|
||||
static inline hb_bool_t /* always returns TRUE */
|
||||
_hb_object_debug_out (const void *obj,
|
||||
hb_reference_count_t *ref_count,
|
||||
const char *function)
|
||||
|
@ -171,7 +171,7 @@ _hb_sanitize_fini (hb_sanitize_context_t *context HB_UNUSED,
|
||||
hb_blob_unlock (blob);
|
||||
}
|
||||
|
||||
static HB_UNUSED inline bool
|
||||
static inline bool
|
||||
_hb_sanitize_check (SANITIZE_ARG_DEF,
|
||||
const char *base,
|
||||
unsigned int len)
|
||||
@ -191,7 +191,7 @@ _hb_sanitize_check (SANITIZE_ARG_DEF,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static HB_UNUSED inline bool
|
||||
static inline bool
|
||||
_hb_sanitize_array (SANITIZE_ARG_DEF,
|
||||
const char *base,
|
||||
unsigned int record_size,
|
||||
@ -211,7 +211,7 @@ _hb_sanitize_array (SANITIZE_ARG_DEF,
|
||||
return HB_LIKELY (!overflows) && _hb_sanitize_check (SANITIZE_ARG, base, record_size * len);
|
||||
}
|
||||
|
||||
static HB_UNUSED inline bool
|
||||
static inline bool
|
||||
_hb_sanitize_edit (SANITIZE_ARG_DEF,
|
||||
const char *base HB_UNUSED,
|
||||
unsigned int len HB_UNUSED)
|
||||
|
@ -161,7 +161,7 @@
|
||||
* in libgcc in case a target does not have one, which should be just as
|
||||
* good as the open-coded solution below, (which is "HACKMEM 169").
|
||||
*/
|
||||
static HB_UNUSED inline unsigned int
|
||||
static inline unsigned int
|
||||
_hb_popcount32 (uint32_t mask)
|
||||
{
|
||||
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||
@ -240,7 +240,7 @@ typedef int hb_mutex_t;
|
||||
#define HB_DEBUG 0
|
||||
#endif
|
||||
|
||||
static HB_UNUSED inline hb_bool_t /* always returns TRUE */
|
||||
static inline hb_bool_t /* always returns TRUE */
|
||||
_hb_trace (const char *what,
|
||||
const char *function,
|
||||
const void *obj,
|
||||
|
Loading…
Reference in New Issue
Block a user