Skip to content

Commit

Permalink
merge 2 identical cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 20, 2024
1 parent 9878a34 commit 7f38b05
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Basic/Core/pdlapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -875,11 +875,7 @@ pdl_error pdl__make_physvaffine_recprotect(pdl *it, int recurse_count)
PDLDEBUG_f(printf("make_physvaffine %p\n",(void*)it));
PDL_RETERROR(PDL_err, pdl_make_physdims(it));
PDL_Indx incsleft[it->ndims];
if(!it->trans_parent) {
PDL_RETERROR(PDL_err, pdl__make_physical_recprotect(it, recurse_count+1));
goto mkphys_vaff_end;
}
if(!(it->trans_parent->flags & PDL_ITRANS_ISAFFINE)) {
if(!it->trans_parent || !(it->trans_parent->flags & PDL_ITRANS_ISAFFINE)) {
PDL_RETERROR(PDL_err, pdl__make_physical_recprotect(it, recurse_count+1));
goto mkphys_vaff_end;
}
Expand Down

0 comments on commit 7f38b05

Please sign in to comment.