From b979692476663f4a799a773f9b89d386e1c91de3 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 11 Mar 2025 08:59:38 +0100 Subject: Remove unused variable to fix a compilation warning --- CHANGES | 3 +++ src/tools.c | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/CHANGES b/CHANGES index d117c11..139e75a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ CHANGES: +CHANGE 163: BGe 11-Mar-25 + * Fix a compilation warning + CHANGE 162: BGe 29-Apr-24 * remove uintptr_t again. I love optional stuff in standard headers * expose nil sentinel as lanes.null diff --git a/src/tools.c b/src/tools.c index c43d8a2..5edc506 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1510,12 +1510,6 @@ static void inter_copy_keyvaluepair( Universe* U, lua_State* L2, uint_t L2_cache } } -/* -* The clone cache is a weak valued table listing all clones, indexed by their userdatapointer -* fnv164 of string "CLONABLES_CACHE_KEY" generated at https://www.pelock.com/products/hash-calculator -*/ -static DECLARE_CONST_UNIQUE_KEY( CLONABLES_CACHE_KEY, 0xD04EE018B3DEE8F5); - static bool_t copyclone( Universe* U, lua_State* L2, uint_t L2_cache_i, lua_State* L, uint_t source_i_, LookupMode mode_, char const* upName_) { void* const source = lua_touserdata( L, source_i_); -- cgit v1.2.3-55-g6feb