mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03: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