From b50780eac08368413e9d6163f3151d0b15699ce8 Mon Sep 17 00:00:00 2001 From: normal Date: Fri, 14 Mar 2014 22:25:48 +0000 Subject: [PATCH] * st.c (st_update): remove unnecessary assignment git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ st.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fcebf74c3d..50bd6f3b2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Mar 15 07:02:35 2014 Eric Wong + + * st.c (st_update): remove unnecessary assignment + Fri Mar 14 14:58:38 2014 NARUSE, Yui * addr2line.c (fill_lines): fetch symbol names from ELF binary's diff --git a/st.c b/st.c index 808c30c326..5943982761 100644 --- a/st.c +++ b/st.c @@ -921,7 +921,6 @@ st_update(st_table *table, st_data_t key, st_update_callback_func *func, st_data last = &table->bins[bin_pos]; for (; (tmp = *last) != 0; last = &tmp->next) { if (ptr == tmp) { - tmp = ptr->fore; *last = ptr->next; remove_entry(table, ptr); st_free_entry(ptr);