aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-02-05 13:26:12 +0100
committerAnders Broman <a.broman58@gmail.com>2016-02-08 06:08:12 +0000
commit6d88e9e116d604b8ed826157f6a47255bd3de739 (patch)
treede13a4a80f76cca3252f20ccd8395ab20bd0caa4 /epan/prefs.c
parentc41bf48c9eb5ad00913a537be7e31640c5175842 (diff)
prefs.c: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I89f4a2d125e18d113edec4bf35599f128249e913 Reviewed-on: https://code.wireshark.org/review/13726 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/prefs.c')
-rw-r--r--epan/prefs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/prefs.c b/epan/prefs.c
index 447a3c22a3..2f30cbbb10 100644
--- a/epan/prefs.c
+++ b/epan/prefs.c
@@ -4400,7 +4400,6 @@ set_pref(gchar *pref_name, const gchar *value, void *private_data _U_,
module_t *new_module = prefs_find_module("vlan");
if (new_module) {
pref = prefs_find_preference(new_module, "qinq_ethertype");
- module = new_module;
}
}
} else if (strcmp(module->name, "taps") == 0) {