Browse Source

Remove double assigment to s[1]

Assignment Is either done in the loop or by *y = '\0';
pre-master-46
Holger Vogt 5 years ago
parent
commit
6f6f2b8996
  1. 1
      src/frontend/inpcom.c

1
src/frontend/inpcom.c

@ -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;

Loading…
Cancel
Save