Fix unnecessary semicolon warnings in bit set / unset macros

This commit is contained in:
Markus Koch 2019-09-13 12:59:24 +09:00
parent a2abccfc5d
commit a072dbfe8a

View File

@ -153,13 +153,13 @@ static void fix_bitfields(int *bitmap, int count)
report(LL_ERROR, errmsg, ##__VA_ARGS__);\
errno = ERECONF;\
goto fail;\
}}
}} (void)0
#define BS_SET_BITS(value, nbits, mapping, errmsg, ...) \
{if (fpga_cell_bitstream_set_bits(buf, sbuf, value, nbits, mapping)) {\
report(LL_ERROR, errmsg, ##__VA_ARGS__);\
errno = ERECONF;\
goto fail;\
}}
}} (void)0
char *fpga_cell_lut34_isp_generate_bitstream(struct fpga_cell *cell)
{