Commit 3b206363 authored by Olivier Crête's avatar Olivier Crête

interfaces: Fix small warnings on Win32

parent 2b38ba23
...@@ -576,7 +576,7 @@ nice_interfaces_get_local_ips (gboolean include_loopback) ...@@ -576,7 +576,7 @@ nice_interfaces_get_local_ips (gboolean include_loopback)
#ifdef IGNORED_IFACE_PREFIX #ifdef IGNORED_IFACE_PREFIX
const gchar **prefix; const gchar **prefix;
gboolean ignored; gboolean ignored;
const char output[256]; char output[256];
#endif #endif
addresses = _nice_get_adapters_addresses (); addresses = _nice_get_adapters_addresses ();
...@@ -679,7 +679,6 @@ nice_interfaces_get_ip_for_interface (gchar *interface_name) ...@@ -679,7 +679,6 @@ nice_interfaces_get_ip_for_interface (gchar *interface_name)
return NULL; return NULL;
for (a = addresses; a != NULL; a = a->Next) { for (a = addresses; a != NULL; a = a->Next) {
IP_ADAPTER_UNICAST_ADDRESS *unicast;
gchar *name; gchar *name;
/* Various conditions for ignoring the interface. */ /* Various conditions for ignoring the interface. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment