aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.h
diff options
context:
space:
mode:
authorPaul Eggert2019-03-27 21:01:04 -0700
committerPaul Eggert2019-03-27 21:24:26 -0700
commiteac5f967ca700c5f47cf673cb4c06b07c4f42ac2 (patch)
tree6f1a438a8f3d6f5be6a94e8ae0b6c8a0ab114efb /src/thread.h
parent361e88986f3580a7433a23eec1cf01408e5e3627 (diff)
downloademacs-eac5f967ca700c5f47cf673cb4c06b07c4f42ac2.tar.gz
emacs-eac5f967ca700c5f47cf673cb4c06b07c4f42ac2.zip
No need for m_search_regs_saved in thread.h
* src/search.c (save_search_regs, restore_search_regs): Don’t use m_search_regs_saved; it’s equivalent to saved_search_regs.num_regs != 0. * src/thread.h (struct thread_state): Remove m_search_regs_saved.
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/thread.h b/src/thread.h
index 1856fddf4cd..50f8f5cbe0a 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -131,11 +131,6 @@ struct thread_state
131 struct re_registers m_search_regs; 131 struct re_registers m_search_regs;
132#define search_regs (current_thread->m_search_regs) 132#define search_regs (current_thread->m_search_regs)
133 133
134 /* If non-zero the match data have been saved in saved_search_regs
135 during the execution of a sentinel or filter. */
136 bool m_search_regs_saved;
137#define search_regs_saved (current_thread->m_search_regs_saved)
138
139 struct re_registers m_saved_search_regs; 134 struct re_registers m_saved_search_regs;
140#define saved_search_regs (current_thread->m_saved_search_regs) 135#define saved_search_regs (current_thread->m_saved_search_regs)
141 136