Skip to content

Commit

Permalink
Remove dead cases in utf8lwrcodepoint() and utf8uprcodepoint()
Browse files Browse the repository at this point in the history
Spotted by Coverity Scan on the copy of utf8.h integrated into GDAL
  • Loading branch information
rouault authored and sheredom committed Dec 28, 2023
1 parent 535001e commit b7ed0a2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions utf8.h
Original file line number Diff line number Diff line change
Expand Up @@ -1409,9 +1409,6 @@ utf8_constexpr14_impl utf8_int32_t utf8lwrcodepoint(utf8_int32_t cp) {
case 0x01ac:
cp = 0x01ad;
break;
case 0x01af:
cp = 0x01b0;
break;
case 0x01b8:
cp = 0x01b9;
break;
Expand Down Expand Up @@ -1575,9 +1572,6 @@ utf8_constexpr14_impl utf8_int32_t utf8uprcodepoint(utf8_int32_t cp) {
case 0x01ad:
cp = 0x01ac;
break;
case 0x01b0:
cp = 0x01af;
break;
case 0x01b9:
cp = 0x01b8;
break;
Expand Down

0 comments on commit b7ed0a2

Please sign in to comment.