aboutsummaryrefslogtreecommitdiffstats
path: root/capture
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2023-01-13 19:41:35 +0000
committerJoão Valverde <j@v6e.pt>2023-01-13 22:41:04 +0000
commit846056cf466a95ca152144cd7c5f0130aeb31d1b (patch)
treef6a2d62890793d04f287025dc3fcdfce968ff5f5 /capture
parent215a2d7477d99ac5b53f6b9b3e33a1826229ade4 (diff)
MinGW: Fix -Wunused-function
Diffstat (limited to 'capture')
-rw-r--r--capture/capture-pcap-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture/capture-pcap-util.c b/capture/capture-pcap-util.c
index 217329b69e..16f87be797 100644
--- a/capture/capture-pcap-util.c
+++ b/capture/capture-pcap-util.c
@@ -252,7 +252,7 @@ add_unix_interface_ifinfo(if_info_t *if_info, const char *name,
if_info->type = IF_USB;
}
}
-#else
+#elif !defined(_WIN32)
/*
* On other UN*Xes, if there is a description, it's a friendly
* name, and there is no vendor description. ("Other UN*Xes"