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>
This commit is contained in:
Alexis La Goutte 2016-02-05 13:26:12 +01:00 committed by Anders Broman
parent c41bf48c9e
commit 6d88e9e116
1 changed files with 0 additions and 1 deletions

View File

@ -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) {