Fix compiler warnings

Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
Jeroen Koekkoek 2018-10-19 13:42:44 +02:00
parent 6867f949cd
commit 6b41dada9d
6 changed files with 10 additions and 8 deletions

View file

@ -13,7 +13,6 @@
int ddsi_eth_enumerate_interfaces(ddsi_tran_factory_t fact, os_ifaddrs_t **ifs)
{
int err;
int afs[] = { AF_INET, 0 };
(void)fact;

View file

@ -349,7 +349,6 @@ static void ddsi_raweth_deinit(void)
static int ddsi_raweth_enumerate_interfaces (ddsi_tran_factory_t factory, os_ifaddrs_t **interfs)
{
int err = 0;
int afs[] = { AF_PACKET, 0 };
(void)factory;