diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-11 08:59:38 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-11 08:59:38 +0100 |
commit | b979692476663f4a799a773f9b89d386e1c91de3 (patch) | |
tree | ed1bf6a3f8b755f2b812da680fda315db697e8f2 | |
parent | 80672df530bff762047134c58c061e83ba082487 (diff) | |
download | lanes-b979692476663f4a799a773f9b89d386e1c91de3.tar.gz lanes-b979692476663f4a799a773f9b89d386e1c91de3.tar.bz2 lanes-b979692476663f4a799a773f9b89d386e1c91de3.zip |
Remove unused variable to fix a compilation warning
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | src/tools.c | 6 |
2 files changed, 3 insertions, 6 deletions
@@ -1,5 +1,8 @@ | |||
1 | CHANGES: | 1 | CHANGES: |
2 | 2 | ||
3 | CHANGE 163: BGe 11-Mar-25 | ||
4 | * Fix a compilation warning | ||
5 | |||
3 | CHANGE 162: BGe 29-Apr-24 | 6 | CHANGE 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 | */ | ||
1517 | static DECLARE_CONST_UNIQUE_KEY( CLONABLES_CACHE_KEY, 0xD04EE018B3DEE8F5); | ||
1518 | |||
1519 | 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_) | 1513 | 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_) |
1520 | { | 1514 | { |
1521 | void* const source = lua_touserdata( L, source_i_); | 1515 | void* const source = lua_touserdata( L, source_i_); |