From f7245f66295752306ee58c1a9be0ed01b653e347 Mon Sep 17 00:00:00 2001
From: Benoit Germain <benoit.germain@ubisoft.com>
Date: Wed, 16 Aug 2023 09:59:15 +0200
Subject: Minor tweaks

---
 src/lanes.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/lanes.c')

diff --git a/src/lanes.c b/src/lanes.c
index 0aab244..d2c95ee 100644
--- a/src/lanes.c
+++ b/src/lanes.c
@@ -255,7 +255,7 @@ static void lane_cleanup( Lane* s)
 
     {
         AllocatorDefinition* const allocD = &s->U->internal_allocator;
-        allocD->allocF(allocD->allocUD, s, sizeof(Lane), 0);
+        (void) allocD->allocF(allocD->allocUD, s, sizeof(Lane), 0);
     }
 }
 
@@ -1225,10 +1225,10 @@ LUAG_FUNC( lane_new)
     // 's' is allocated from heap, not Lua, since its life span may surpass the handle's (if free running thread)
     //
     // a Lane full userdata needs a single uservalue
-    ud = lua_newuserdatauv( L, sizeof( Lane*), 1);           // func libs priority globals package required gc_cb lane
+    ud = lua_newuserdatauv( L, sizeof( Lane*), 1);                   // func libs priority globals package required gc_cb lane
     {
         AllocatorDefinition* const allocD = &U->internal_allocator;
-        s = *ud = (Lane*)allocD->allocF(allocD->allocUD, NULL, 0, sizeof(Lane));
+        s = *ud = (Lane*) allocD->allocF(allocD->allocUD, NULL, 0, sizeof(Lane));
     }
     if( s == NULL)
     {
-- 
cgit v1.2.3-55-g6feb