summaryrefslogtreecommitdiff
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-04-05 16:55:09 +0100
committerAndrea Corallo <akrl@sdf.org>2020-04-05 21:11:05 +0100
commit598380416cf5bb6bd0cae45ddb3bb03c74da21bb (patch)
tree54a53ba23f6b84921cfe5233221e5cbd8a3e36bf /src/comp.c
parent7009e8af055afcef85c30d8a3866689bd4e49a4a (diff)
downloademacs-598380416cf5bb6bd0cae45ddb3bb03c74da21bb.tar.gz
emacs-598380416cf5bb6bd0cae45ddb3bb03c74da21bb.tar.bz2
emacs-598380416cf5bb6bd0cae45ddb3bb03c74da21bb.zip
* src/comp.c (hash_native_abi): Fix assertion.
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c
index b56d0afaa3a..904869d99c9 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. */