ruby-changes:61482
From: Nobuyoshi <ko1@a...>
Date: Thu, 4 Jun 2020 17:12:25 +0900 (JST)
Subject: [ruby-changes:61482] 33ca2d386b (master): Removed no longer used constants [Bug #16934]
https://git.ruby-lang.org/ruby.git/commit/?id=33ca2d386b From 33ca2d386bee1cb4bc8e488cd9ad67df5f50f457 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 4 Jun 2020 16:26:43 +0900 Subject: Removed no longer used constants [Bug #16934] `RESERVED_HASH_VAL` and `RESERVED_HASH_SUBSTITUTION_VAL` have not been used directly in hash.c since 72825c35b0d8. diff --git a/st.c b/st.c index 6e303f2..c11535e 100644 --- a/st.c +++ b/st.c @@ -313,9 +313,6 @@ static const struct st_features features[] = { https://github.com/ruby/ruby/blob/trunk/st.c#L313 #define RESERVED_HASH_VAL (~(st_hash_t) 0) #define RESERVED_HASH_SUBSTITUTION_VAL ((st_hash_t) 0) -const st_hash_t st_reserved_hash_val = RESERVED_HASH_VAL; -const st_hash_t st_reserved_hash_substitution_val = RESERVED_HASH_SUBSTITUTION_VAL; - /* Return hash value of KEY for table TAB. */ static inline st_hash_t do_hash(st_data_t key, st_table *tab) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/