From ce3c9a34379015473ad6559e75c59e93159894e5 Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Wed, 18 Nov 2020 18:04:09 +0000 Subject: Fix USE_TRANSIENT_HEAP macro usage in hash.c Additionally fix some typos in transient heap. --- hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index e0f8773b64..f951d59e96 100644 --- a/hash.c +++ b/hash.c @@ -532,7 +532,7 @@ hash_verify_(VALUE hash, const char *file, int line) HASH_ASSERT(RHASH_AR_TABLE_BOUND_RAW(hash) == 0); } -#if USE_TRANSIENT_HEP +#if USE_TRANSIENT_HEAP if (RHASH_TRANSIENT_P(hash)) { volatile st_data_t MAYBE_UNUSED(key) = RHASH_AR_TABLE_REF(hash, 0)->key; /* read */ HASH_ASSERT(RHASH_AR_TABLE(hash) != NULL); -- cgit v1.2.3