Skip to content

Commit

Permalink
Remove unnecessary sep initialization in ecs_new_from_path_w_sep
Browse files Browse the repository at this point in the history
  • Loading branch information
copygirl authored and SanderMertens committed May 10, 2023
1 parent 27c87cf commit 549ee55
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/hierarchy.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,9 +684,5 @@ ecs_entity_t ecs_new_from_path_w_sep(
const char *sep,
const char *prefix)
{
if (!sep) {
sep = ".";
}

return ecs_add_path_w_sep(world, 0, parent, path, sep, prefix);
}

0 comments on commit 549ee55

Please sign in to comment.