aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c1
1 files changed, 0 insertions, 1 deletions
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);