aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-03-11 08:59:38 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2025-03-11 08:59:38 +0100
commitb979692476663f4a799a773f9b89d386e1c91de3 (patch)
treeed1bf6a3f8b755f2b812da680fda315db697e8f2
parent80672df530bff762047134c58c061e83ba082487 (diff)
downloadlanes-b979692476663f4a799a773f9b89d386e1c91de3.tar.gz
lanes-b979692476663f4a799a773f9b89d386e1c91de3.tar.bz2
lanes-b979692476663f4a799a773f9b89d386e1c91de3.zip
Remove unused variable to fix a compilation warning
-rw-r--r--CHANGES3
-rw-r--r--src/tools.c6
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 @@
1CHANGES: 1CHANGES:
2 2
3CHANGE 163: BGe 11-Mar-25
4 * Fix a compilation warning
5
3CHANGE 162: BGe 29-Apr-24 6CHANGE 162: BGe 29-Apr-24
4 * remove uintptr_t again. I love optional stuff in standard headers 7 * remove uintptr_t again. I love optional stuff in standard headers
5 * expose nil sentinel as lanes.null 8 * 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
1510 } 1510 }
1511} 1511}
1512 1512
1513/*
1514* The clone cache is a weak valued table listing all clones, indexed by their userdatapointer
1515* fnv164 of string "CLONABLES_CACHE_KEY" generated at https://www.pelock.com/products/hash-calculator
1516*/
1517static DECLARE_CONST_UNIQUE_KEY( CLONABLES_CACHE_KEY, 0xD04EE018B3DEE8F5);
1518
1519static 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_) 1513static 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_)
1520{ 1514{
1521 void* const source = lua_touserdata( L, source_i_); 1515 void* const source = lua_touserdata( L, source_i_);