emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 b44caf9: Remove overenthusiastic eassert


From: Paul Eggert
Subject: [Emacs-diffs] emacs-25 b44caf9: Remove overenthusiastic eassert
Date: Sun, 06 Dec 2015 23:07:44 +0000

branch: emacs-25
commit b44caf951a93ab4b911391bccecb36d0bbab8d71
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Remove overenthusiastic eassert
    
    * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
    previous change.  It breaks on MS-Windows --with-wide-int.
    Problem reported by Eli Zaretskii in:
    http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
---
 src/lisp.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/lisp.h b/src/lisp.h
index 8428b6a..ee9b7b6 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -941,7 +941,6 @@ XSYMBOL (Lisp_Object a)
 {
   eassert (SYMBOLP (a));
   intptr_t i = (intptr_t) XUNTAG (a, Lisp_Symbol);
-  eassert (0 <= i);
   void *p = (char *) lispsym + i;
   return p;
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]