[前][次][番号順一覧][スレッド一覧]

ruby-changes:33257

From: normal <ko1@a...>
Date: Sat, 15 Mar 2014 07:26:05 +0900 (JST)
Subject: [ruby-changes:33257] normal:r45336 (trunk): * st.c (st_update): remove unnecessary assignment

normal	2014-03-15 07:25:48 +0900 (Sat, 15 Mar 2014)

  New Revision: 45336

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45336

  Log:
    * st.c (st_update): remove unnecessary assignment

  Modified files:
    trunk/ChangeLog
    trunk/st.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45335)
+++ ChangeLog	(revision 45336)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Mar 15 07:02:35 2014  Eric Wong  <e@8...>
+
+	* st.c (st_update): remove unnecessary assignment
+
 Fri Mar 14 14:58:38 2014  NARUSE, Yui  <naruse@r...>
 
 	* addr2line.c (fill_lines): fetch symbol names from ELF binary's
Index: st.c
===================================================================
--- st.c	(revision 45335)
+++ st.c	(revision 45336)
@@ -921,7 +921,6 @@ st_update(st_table *table, st_data_t key https://github.com/ruby/ruby/blob/trunk/st.c#L921
 	    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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]