X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Flzms_compress.c;h=8ee9e81839246ddbafa38de89611f85caf775e28;hb=c3e031c6dfe0a2851b709e2ee54cd44dbd393285;hp=9a84ebd72ceea965e1b880b5f75504258ddacf25;hpb=a739a1c0e0d2091209544f8f155baa0df6935d6f;p=wimlib diff --git a/src/lzms_compress.c b/src/lzms_compress.c index 9a84ebd7..8ee9e818 100644 --- a/src/lzms_compress.c +++ b/src/lzms_compress.c @@ -170,7 +170,7 @@ struct lzms_item { #define DELTA_SOURCE_POWER_SHIFT 28 #define DELTA_SOURCE_RAW_OFFSET_MASK (((u32)1 << DELTA_SOURCE_POWER_SHIFT) - 1) -static inline void +static _unused_attribute void check_that_powers_fit_in_bitfield(void) { STATIC_ASSERT(LZMS_NUM_DELTA_POWER_SYMS <= (1 << (31 - DELTA_SOURCE_POWER_SHIFT))); @@ -976,7 +976,7 @@ static const u32 lzms_bit_costs[LZMS_PROBABILITY_DENOMINATOR + 1] = { 1 }; -static inline void +static _unused_attribute void check_cost_shift(void) { /* lzms_bit_costs is hard-coded to the current COST_SHIFT. */