diff src/symbols.c @ 4503:af95657e0bfd

Use EQ() and !EQ() in symbols.c, thank you Robert Delius Royar. 2008-08-27 Aidan Kehoe <kehoea@parhasard.net> * symbols.c (Fuser_variable_p): (map_varalias_chain): Use EQ() and !EQ(), don't compare two Lisp_Objects using == and !=. Fixes the union build, thank you Robert Delius Royar.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 27 Aug 2008 00:39:09 +0200
parents 8748a3f7ceb4
children 69a1eda3da06
line wrap: on
line diff
--- a/src/symbols.c	Sat Aug 23 16:38:51 2008 +0200
+++ b/src/symbols.c	Wed Aug 27 00:39:09 2008 +0200
@@ -2823,7 +2823,7 @@
       return Qnil;
     }
 
-  assert (make_int (1) == mapped);
+  assert (EQ (make_int (1), mapped));
 
   return Qt;
 }
@@ -3247,7 +3247,7 @@
 	 count++)
     {
       res = (fn) (hare);
-      if (Qzero != res)
+      if (!EQ (Qzero, res))
         {
           return res;
         }