emacs-diffs
[Top][All Lists]
Advanced

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

feature/native-comp 5983804 6/9: * src/comp.c (hash_native_abi): Fix ass


From: Andrea Corallo
Subject: feature/native-comp 5983804 6/9: * src/comp.c (hash_native_abi): Fix assertion.
Date: Sun, 5 Apr 2020 17:25:08 -0400 (EDT)

branch: feature/native-comp
commit 598380416cf5bb6bd0cae45ddb3bb03c74da21bb
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>

    * src/comp.c (hash_native_abi): Fix assertion.
---
 src/comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/comp.c b/src/comp.c
index b56d0af..904869d 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -258,7 +258,7 @@ hash_native_abi (void)
   hexbuf_digest (SSDATA (digest), SDATA (digest), SHA512_DIGEST_SIZE);
 
   /* Check runs once.  */
-  eassert (Vcomp_abi_hash);
+  eassert (NILP (Vcomp_abi_hash));
   Vcomp_abi_hash = digest;
   /* If 10 characters are usually sufficient for git I guess 16 are
      fine for us here.  */



reply via email to

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