aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parent80672df530bff762047134c58c061e83ba082487 (diff)
downloadlanes-b979692476663f4a799a773f9b89d386e1c91de3.tar.gz
lanes-b979692476663f4a799a773f9b89d386e1c91de3.tar.bz2
lanes-b979692476663f4a799a773f9b89d386e1c91de3.zip
Remove unused variable to fix a compilation warning
Diffstat (limited to 'src')
-rw-r--r--src/tools.c6
1 files changed, 0 insertions, 6 deletions
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_);