mdns/NetworkInterfaces: remove unused variable
[olsrd.git] / lib / mdns / src / NetworkInterfaces.c
index ad3deae..512dd5f 100644 (file)
@@ -421,11 +421,11 @@ CreateBmfNetworkInterfaces(struct interface *skipThisIntf)
 void
 AddInterface(struct interface *newIntf)
 {
-  int nOpened;
+  /* int nOpened; */
 
   assert(newIntf != NULL);
 
-  nOpened = CreateInterface(newIntf->int_name, newIntf);
+  /* nOpened = */ (void)CreateInterface(newIntf->int_name, newIntf);
 
   //OLSR_PRINTF(1, "%s: opened %d sockets\n", PLUGIN_NAME, nOpened);
 }                               /* AddInterface */