Skip to content

Commit 0b6a092

Browse files
committed
Avoid unused variable warnings
1 parent ff54fb3 commit 0b6a092

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/init.luau

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ local function ECS_ENTITY_T_LO(e: i53): i24
131131
return if e > ECS_ENTITY_MASK then (e // ECS_ID_FLAGS_MASK) // ECS_ENTITY_MASK else e
132132
end
133133

134-
local function STRIP_GENERATION(e: i53): i24
134+
local function _STRIP_GENERATION(e: i53): i24
135135
return ECS_ENTITY_T_LO(e)
136136
end
137137

@@ -159,7 +159,7 @@ local function entity_index_get_alive(index: EntityIndex, e: i24): i53
159159
error(ERROR_ENTITY_NOT_ALIVE)
160160
end
161161

162-
local function entity_index_sparse_get(entityIndex, id)
162+
local function _entity_index_sparse_get(entityIndex, id)
163163
return entityIndex.sparse[entity_index_get_alive(entityIndex, id)]
164164
end
165165

@@ -276,7 +276,7 @@ local function id_record_ensure(
276276
return archetypesMap
277277
end
278278

279-
local function ECS_ID_IS_WILDCARD(e: i53): boolean
279+
local function _ECS_ID_IS_WILDCARD(e: i53): boolean
280280
assert(ECS_IS_PAIR(e))
281281
local first = ECS_ENTITY_T_HI(e)
282282
local second = ECS_ENTITY_T_LO(e)

0 commit comments

Comments
 (0)