mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-25 03:45:48 +08:00
0023347: Expression '(* q == ' ') && (* q == '\t')' is always false. Probably the '||' operator should be used here.
Replacing '&&' with '||'.
This commit is contained in:
@@ -1036,7 +1036,7 @@ static Standard_Real ParseValue(char*& name)
|
||||
// count arguments
|
||||
Standard_Integer argc = 1;
|
||||
char* q = p;
|
||||
while ((*q == ' ') && (*q == '\t')) q++;
|
||||
while ((*q == ' ') || (*q == '\t')) q++;
|
||||
if (*q == '(') {
|
||||
Standard_Integer pc = 1;
|
||||
argc = 2;
|
||||
|
||||
Reference in New Issue
Block a user