Explorar o código

core/parse_methods: removed duplicate check for same characters

- on a report generated by cppcheck sent by David Binderman
Daniel-Constantin Mierla %!s(int64=11) %!d(string=hai) anos
pai
achega
935f06eb8c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      parser/parse_methods.c

+ 1 - 1
parser/parse_methods.c

@@ -40,7 +40,7 @@ static int token_char(char _c)
  		(_c >= 48 && _c <= 57) ||        /* digits */
  		(_c == '-') || (_c == '.') || (_c == '!') || (_c == '%') ||
  		(_c == '*') || (_c == '_') || (_c == '+') || (_c == '`') ||
- 		(_c == '\'') || (_c == '~') || (_c == '+') || (_c == '`');
+ 		(_c == '\'') || (_c == '~');
  }