diff options
| author | Eli Zaretskii | 2016-12-10 11:06:23 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-12-10 11:06:23 +0200 |
| commit | e4df093e6058c4338a1ea885d44fd0be7f032b8c (patch) | |
| tree | 31e0ec508564911d2685994f466a19f44cbc62d2 /src | |
| parent | 19bc43020d6afa2265447e2dad43ad617812ab38 (diff) | |
| download | emacs-e4df093e6058c4338a1ea885d44fd0be7f032b8c.tar.gz emacs-e4df093e6058c4338a1ea885d44fd0be7f032b8c.zip | |
Fix building with check-lisp-object-type
* src/thread.c (mark_one_thread): Use NILP to compare with
m_saved_last_thing_searched, which is a Lisp object. Reported by
Andreas Politz <politza@hochschule-trier.de>.
Diffstat (limited to 'src')
| -rw-r--r-- | src/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c index dda262984c0..b2f8561f923 100644 --- a/src/thread.c +++ b/src/thread.c | |||
| @@ -540,7 +540,7 @@ mark_one_thread (struct thread_state *thread) | |||
| 540 | 540 | ||
| 541 | mark_object (thread->m_last_thing_searched); | 541 | mark_object (thread->m_last_thing_searched); |
| 542 | 542 | ||
| 543 | if (thread->m_saved_last_thing_searched) | 543 | if (!NILP (thread->m_saved_last_thing_searched)) |
| 544 | mark_object (thread->m_saved_last_thing_searched); | 544 | mark_object (thread->m_saved_last_thing_searched); |
| 545 | } | 545 | } |
| 546 | 546 | ||