diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-02-09 20:17:33 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-02-10 15:33:34 +0000 |
commit | 0bf7ba3de5a3d3b9de81506820dc3301cb96be0f (patch) | |
tree | 36dc43fcae2d0a32fd63da758de616bba4ee0d35 /epan/wmem | |
parent | 9ced31a2d7a78e22454aba5fa1a0f2655e2a57cf (diff) |
wmem_list: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ibbbe9fb0165eaa297c2b70bf7e478cf538e2cc33
Reviewed-on: https://code.wireshark.org/review/20040
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/wmem')
-rw-r--r-- | epan/wmem/wmem_list.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/wmem/wmem_list.c b/epan/wmem/wmem_list.c index c1e9fa1dad..e0c4adc0b3 100644 --- a/epan/wmem/wmem_list.c +++ b/epan/wmem/wmem_list.c @@ -202,7 +202,6 @@ wmem_list_insert_sorted(wmem_list_t *list, void* data, GCompareFunc func) } cur = list->head; - prev = list->head; if (func(cur->data, data) >= 0) { cur->prev = new_frame; |