From 7eb9e30d9d162b854a5832c1204ce244a5026266 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 18 Aug 2000 05:18:44 +0000 Subject: [PATCH] (CHECK) [ENABLE_CHECKING]: Make both side of the conditional have void type, for standard C compilers. --- src/ChangeLog | 9 +++++++++ src/lisp.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d614a44efb0..6756de20b0b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,12 @@ +2000-08-18 Gerd Moellmann + + * 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 * fontset.c (Finternal_char_font): Search only the selected frame diff --git a/src/lisp.h b/src/lisp.h index f79e211f655..7d8f2d46010 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -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) -- 2.39.2