(CHECK) [ENABLE_CHECKING]: Make both side of the
authorGerd Moellmann <gerd@gnu.org>
Fri, 18 Aug 2000 05:18:44 +0000 (05:18 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 18 Aug 2000 05:18:44 +0000 (05:18 +0000)
conditional have void type, for standard C compilers.

src/ChangeLog
src/lisp.h

index d614a44..6756de2 100644 (file)
@@ -1,3 +1,12 @@
+2000-08-18  Gerd Moellmann  <gerd@gnu.org>
+
+       * lisp.h (CHECK) [ENABLE_CHECKING]: Make both side of the
+       conditional have void type, for standard C compilers.
+
+       * xdisp.c (redisplay_internal): Compare windows for equality with
+       EQ, instead of applying XWINDOW to something that might not
+       be a window.
+       
 2000-08-18  Kenichi Handa  <handa@etl.go.jp>
 
        * fontset.c (Finternal_char_font): Search only the selected frame
index f79e211..7d8f2d4 100644 (file)
@@ -53,7 +53,7 @@ extern void die P_((const char *, const char *, int));
 #ifdef ENABLE_CHECKING
 
 #define CHECK(check,msg) ((check || suppress_checking          \
-                          ? 0                                  \
+                          ? (void) 0                           \
                           : die (msg, __FILE__, __LINE__)),    \
                          0)