aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
authorPo Lu2022-12-01 14:43:44 +0800
committerPo Lu2022-12-01 14:43:44 +0800
commit30cd8045d7bf6be772976f43891f9216182b552f (patch)
tree90aa5e91b14da14e8f4e8e8642eedca8b27a6eda /src/xselect.c
parente961a31507e6fba86a5d45fec7fa616e80028882 (diff)
downloademacs-30cd8045d7bf6be772976f43891f9216182b552f.tar.gz
emacs-30cd8045d7bf6be772976f43891f9216182b552f.zip
Fix pdumper build
* src/xselect.c (mark_xselect): Don't mark if outstanding_transfers.next is still NULL.
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xselect.c b/src/xselect.c
index c635f840654..c23cda1f66e 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -3415,6 +3415,11 @@ mark_xselect (void)
3415 request stack or the list of outstanding transfers. */ 3415 request stack or the list of outstanding transfers. */
3416 3416
3417 next = outstanding_transfers.next; 3417 next = outstanding_transfers.next;
3418
3419 if (!next)
3420 /* syms_of_xselect has not yet been called. */
3421 return;
3422
3418 while (next != &outstanding_transfers) 3423 while (next != &outstanding_transfers)
3419 { 3424 {
3420 mark_object (next->data.string); 3425 mark_object (next->data.string);