Browse Source

cleanup: fix cppcheck unreadVariable code smell in common.c

master
Juho Hiltunen 2 years ago
parent
commit
77df00ad79
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/libespeak-ng/common.c

+ 1
- 3
src/libespeak-ng/common.c View File

@@ -271,9 +271,7 @@ int IsSpace(unsigned int c)
int isspace2(unsigned int c)
{
// can't use isspace() because on Windows, isspace(0xe1) gives TRUE !
int c2;

if (((c2 = (c & 0xff)) == 0) || (c > ' '))
if ( ((c & 0xff) == 0) || (c > ' '))
return 0;
return 1;
}

Loading…
Cancel
Save