aboutsummaryrefslogtreecommitdiffstats
path: root/extcap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-04-16 21:27:40 +0200
committerEvan Huus <eapache@gmail.com>2015-04-16 22:40:02 +0000
commit32bbe0af235ba1fdb450a9850a92c2e8b0fa7b1e (patch)
treedaf1650f27b13b47785ef6a02df4a53e0d49786e /extcap.c
parent51d4d0af7220c0ac9f1d107e8d04982382fab8d8 (diff)
Extcap: fix logically dead code (CID 1232344)
Change-Id: Ia6c178a9a5ec413004107f63c8dcaa38c19690b9 Reviewed-on: https://code.wireshark.org/review/8096 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'extcap.c')
-rw-r--r--extcap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/extcap.c b/extcap.c
index 6353e2153b..f02f86f678 100644
--- a/extcap.c
+++ b/extcap.c
@@ -417,9 +417,6 @@ extcap_get_if_configuration(const char * ifname) {
g_log(LOG_DOMAIN_CAPTURE, G_LOG_LEVEL_DEBUG, "Extcap path %s",
get_extcap_dir());
- if (err_str != NULL)
- *err_str = NULL;
-
argv[0] = g_strdup(EXTCAP_ARGUMENT_CONFIG);
argv[1] = g_strdup(EXTCAP_ARGUMENT_INTERFACE);
argv[2] = g_strdup(ifname);