Remove double assigment to s[1]

Assignment Is either done in the loop or by *y = '\0';
This commit is contained in:
Holger Vogt 2021-09-26 00:05:30 +02:00
parent daa3609e58
commit 6f6f2b8996
1 changed files with 0 additions and 1 deletions

View File

@ -9871,7 +9871,6 @@ utf8_check(unsigned char *s)
else if (s[0] == 0xc2 && s[1] == 0xb5) {
/* translate utf-8 micro µ to u */
s[0] = 'u';
s[1] = ' ';
/* remove second byte */
unsigned char *y = s + 1;
unsigned char *z = s + 2;