Skip to content

Commit

Permalink
utf8.c: Rmv redundnat assigns
Browse files Browse the repository at this point in the history
This fixes GH #19091

This is from a rebasing error.  The two variable assignments were
supposed to have been superceded by the first one in the function, and
these removed, but they didn't get removed, until now
  • Loading branch information
khwilliamson committed Sep 5, 2021
1 parent 8447f10 commit 756f091
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utf8.c
Expand Up @@ -3238,13 +3238,11 @@ S_to_case_cp_list(pTHX_
* should be given. */
}

*remaining_count = 0;
return original;
}

if (LIKELY(base > 0)) { /* means original mapped to a single code point,
different from itself */
*remaining_count = 0;
return base + original - invlist_array(invlist)[index];
}

Expand Down

0 comments on commit 756f091

Please sign in to comment.