[subset/hvar] minor
not super excited about state of the code around, assuming was needed so let's add this may unlikely check also.
This commit is contained in:
parent
257a197ae7
commit
5e55a6d691
@ -265,11 +265,11 @@ struct hvarvvar_subset_plan_t
|
|||||||
for (unsigned int i = 0; i < inner_maps.length; i++)
|
for (unsigned int i = 0; i < inner_maps.length; i++)
|
||||||
inner_maps[i].init ();
|
inner_maps[i].init ();
|
||||||
|
|
||||||
if (unlikely (!inner_sets.length || !inner_maps.length)) return;
|
if (unlikely (!index_map_plans.length || !inner_sets.length || !inner_maps.length)) return;
|
||||||
|
|
||||||
bool retain_adv_map = false;
|
bool retain_adv_map = false;
|
||||||
index_map_plans[0].init (*index_maps[0], outer_map, inner_sets, plan);
|
index_map_plans[0].init (*index_maps[0], outer_map, inner_sets, plan);
|
||||||
if (index_maps[0] == &Null(DeltaSetIndexMap))
|
if (index_maps[0] == &Null (DeltaSetIndexMap))
|
||||||
{
|
{
|
||||||
retain_adv_map = plan->retain_gids;
|
retain_adv_map = plan->retain_gids;
|
||||||
outer_map.add (0);
|
outer_map.add (0);
|
||||||
|
Loading…
Reference in New Issue
Block a user