* src/comp.c (hash_native_abi): Fix assertion.

This commit is contained in:
Andrea Corallo 2020-04-05 16:55:09 +01:00
parent 7009e8af05
commit 598380416c

View 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. */