aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2005-01-19 00:08:30 +0000
committerKim F. Storm2005-01-19 00:08:30 +0000
commitd278cde036f9fa0f56b5a0b49baf498f13ebf332 (patch)
tree4f392d4624c84b071ed2dc00141aca98991ef70e
parent27c8be45853e36f389baf79457b4bdf9b47b2cbd (diff)
downloademacs-d278cde036f9fa0f56b5a0b49baf498f13ebf332.tar.gz
emacs-d278cde036f9fa0f56b5a0b49baf498f13ebf332.zip
(sweep_weak_table): Advance prev pointer when we keep a pair.
-rw-r--r--src/fns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c
index 3f92a0e0bfb..9a3121a3391 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -4836,6 +4836,10 @@ sweep_weak_table (h, remove_entries_p)
4836 4836
4837 h->count = make_number (XFASTINT (h->count) - 1); 4837 h->count = make_number (XFASTINT (h->count) - 1);
4838 } 4838 }
4839 else
4840 {
4841 prev = idx;
4842 }
4839 } 4843 }
4840 else 4844 else
4841 { 4845 {