mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +03:00
0023347: Expression '(* q == ' ') && (* q == '\t')' is always false. Probably the '||' operator should be used here.
Replacing '&&' with '||'.
This commit is contained in:
parent
d33dea30d5
commit
d4a137d527
@ -1036,7 +1036,7 @@ static Standard_Real ParseValue(char*& name)
|
|||||||
// count arguments
|
// count arguments
|
||||||
Standard_Integer argc = 1;
|
Standard_Integer argc = 1;
|
||||||
char* q = p;
|
char* q = p;
|
||||||
while ((*q == ' ') && (*q == '\t')) q++;
|
while ((*q == ' ') || (*q == '\t')) q++;
|
||||||
if (*q == '(') {
|
if (*q == '(') {
|
||||||
Standard_Integer pc = 1;
|
Standard_Integer pc = 1;
|
||||||
argc = 2;
|
argc = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user