From 846056cf466a95ca152144cd7c5f0130aeb31d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 13 Jan 2023 19:41:35 +0000 Subject: [PATCH] MinGW: Fix -Wunused-function --- capture/capture-pcap-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"