mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-22 16:09:52 +02:00
make struct initialization C99 compatible again
Mainly change {} to { 0 } to remove a pedantic warning.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Oliver Hartkopp
parent
d3b29dfa48
commit
204235c9ce
@@ -706,8 +706,8 @@ int main(int argc, char **argv)
|
||||
struct can_filter filter;
|
||||
struct sockaddr_nl nladdr;
|
||||
|
||||
struct cgw_csum_xor cs_xor = {};
|
||||
struct cgw_csum_crc8 cs_crc8 = {};
|
||||
struct cgw_csum_xor cs_xor = { 0 };
|
||||
struct cgw_csum_crc8 cs_crc8 = { 0 };
|
||||
char crc8tab[513] = {0};
|
||||
|
||||
struct modattr modmsg[CGW_MOD_FUNCS];
|
||||
|
||||
Reference in New Issue
Block a user