提交 b8bd000b authored 作者: Steve Underwood's avatar Steve Underwood

More elimination of warnings with clang

上级 bfacd58f
......@@ -110,6 +110,7 @@ static __inline__ uint32_t pack_32(const uint8_t *s)
}
/*- End of function --------------------------------------------------------*/
#if 0
static __inline__ int unpack_16(uint8_t *s, uint16_t value)
{
s[0] = (value >> 8) & 0xFF;
......@@ -118,7 +119,6 @@ static __inline__ int unpack_16(uint8_t *s, uint16_t value)
}
/*- End of function --------------------------------------------------------*/
#if 0
static __inline__ int unpack_32(uint8_t *s, uint32_t value)
{
s[0] = (value >> 24) & 0xFF;
......
......@@ -300,6 +300,7 @@ static int match_resolution(float actual, const float table[])
}
/*- End of function --------------------------------------------------------*/
#if 0
static int best_colour_resolution(float actual, int allowed_resolutions)
{
static const struct
......@@ -343,6 +344,7 @@ static int best_colour_resolution(float actual, int allowed_resolutions)
return x_res_table[best_entry].resolution_code;
}
/*- End of function --------------------------------------------------------*/
#endif
#if defined(SPANDSP_SUPPORT_TIFF_FX)
static int read_colour_map(t4_tx_state_t *s, int bits_per_sample)
......@@ -949,6 +951,7 @@ static int read_tiff_t85_image(t4_tx_state_t *s)
}
/*- End of function --------------------------------------------------------*/
#if defined(SPANDSP_SUPPORT_T43)
static int read_tiff_t43_image(t4_tx_state_t *s)
{
int biggest;
......@@ -1026,6 +1029,7 @@ static int read_tiff_t43_image(t4_tx_state_t *s)
return s->tiff.image_size;
}
/*- End of function --------------------------------------------------------*/
#endif
static int read_tiff_t42_t81_image(t4_tx_state_t *s)
{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论