Fix unnecessary semicolon warnings in bit set / unset macros
This commit is contained in:
parent
a2abccfc5d
commit
a072dbfe8a
@ -153,13 +153,13 @@ static void fix_bitfields(int *bitmap, int count)
|
|||||||
report(LL_ERROR, errmsg, ##__VA_ARGS__);\
|
report(LL_ERROR, errmsg, ##__VA_ARGS__);\
|
||||||
errno = ERECONF;\
|
errno = ERECONF;\
|
||||||
goto fail;\
|
goto fail;\
|
||||||
}}
|
}} (void)0
|
||||||
#define BS_SET_BITS(value, nbits, mapping, errmsg, ...) \
|
#define BS_SET_BITS(value, nbits, mapping, errmsg, ...) \
|
||||||
{if (fpga_cell_bitstream_set_bits(buf, sbuf, value, nbits, mapping)) {\
|
{if (fpga_cell_bitstream_set_bits(buf, sbuf, value, nbits, mapping)) {\
|
||||||
report(LL_ERROR, errmsg, ##__VA_ARGS__);\
|
report(LL_ERROR, errmsg, ##__VA_ARGS__);\
|
||||||
errno = ERECONF;\
|
errno = ERECONF;\
|
||||||
goto fail;\
|
goto fail;\
|
||||||
}}
|
}} (void)0
|
||||||
|
|
||||||
char *fpga_cell_lut34_isp_generate_bitstream(struct fpga_cell *cell)
|
char *fpga_cell_lut34_isp_generate_bitstream(struct fpga_cell *cell)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user