summaryrefslogtreecommitdiff
path: root/caputils/airpcap_loader.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-11-25 00:45:06 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-11-27 22:22:06 +0000
commit7c8314a68340a331c43f3232f6158a9c3afff641 (patch)
tree2e648c0dc0c755e8820c9b0bfc3a8b66ea560d43 /caputils/airpcap_loader.c
parentd7f12436709e40d58d7fcdfbcdd08740c039e162 (diff)
downloadwireshark-7c8314a68340a331c43f3232f6158a9c3afff641.tar.gz
Fix ISO C forbids an empty translation unit [-Wpedantic] (airpcap)
Autotools only warning. Change-Id: I30f33d2f8611d662dbc62326862707bf05ad3f60 Reviewed-on: https://code.wireshark.org/review/12150 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'caputils/airpcap_loader.c')
-rw-r--r--caputils/airpcap_loader.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/caputils/airpcap_loader.c b/caputils/airpcap_loader.c
index 7d2fbc7349..98e4699b83 100644
--- a/caputils/airpcap_loader.c
+++ b/caputils/airpcap_loader.c
@@ -24,8 +24,6 @@
#include "config.h"
-#ifdef HAVE_AIRPCAP
-
#ifdef HAVE_LIBPCAP
#include <glib.h>
#include <gmodule.h>
@@ -1244,7 +1242,6 @@ get_runtime_airpcap_version(GString *str)
g_string_append_printf(str, "with AirPcap %d.%d.%d build %d", vmaj, vmin,
vrev, build);
}
-#endif /* HAVE_AIRPCAP */
/*
* Editor modelines - http://www.wireshark.org/tools/modelines.html