]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/comp.c (hash_native_abi): Fix assertion.
authorAndrea Corallo <akrl@sdf.org>
Sun, 5 Apr 2020 15:55:09 +0000 (16:55 +0100)
committerAndrea Corallo <akrl@sdf.org>
Sun, 5 Apr 2020 20:11:05 +0000 (21:11 +0100)
src/comp.c

index b56d0afaa3a2a44f33f06c0f98fb96adf1c31b88..904869d99c90840725d32b254d60a0d91f46994b 100644 (file)
@@ -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.  */