When I was looking for some inspiration, I stumbled across the following code:
(void)memset(&ifm, 0, sizeof(ifm));
https://github.com/i3/i3status/blob/master/src/print_eth_info.c#L55
I know (void) cast is used to suppress unused warnings in C. But I don't see any reason why a warning should be generated for not checking the return value of memset().
So may question is what is the reason for using void cast here.