diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-14 22:25:48 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-14 22:25:48 +0000 |
commit | b50780eac08368413e9d6163f3151d0b15699ce8 (patch) | |
tree | 1593fe8c21ab4d0a1c69c941507ffc45164e23f0 | |
parent | 6c08032d2fc9fee9a433467047c50819d331d930 (diff) | |
download | ruby-b50780eac08368413e9d6163f3151d0b15699ce8.tar.gz |
* st.c (st_update): remove unnecessary assignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | st.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Sat Mar 15 07:02:35 2014 Eric Wong <e@80x24.org> + + * st.c (st_update): remove unnecessary assignment + Fri Mar 14 14:58:38 2014 NARUSE, Yui <naruse@ruby-lang.org> * addr2line.c (fill_lines): fetch symbol names from ELF binary's @@ -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); |