DRCtech.c:4141:21: warning: suggest parentheses around comparison in operand of '=='
the expression (a == b == 1) works out like: a, b = result (XNOR) 0, 0 = 1 0, 1 = 0 1, 0 = 0 1, 1 = 1 GCC14 -Wall cleanup series [-Wparentheses]
This commit is contained in:
parent
04bc9032b9
commit
c1aeaa9be5
|
|
@ -4138,7 +4138,7 @@ DRCTechScale(scalen, scaled)
|
|||
int scalegcf;
|
||||
|
||||
if (DRCCurStyle == NULL) return;
|
||||
else if (scalen == scaled == 1) return;
|
||||
else if (scalen == scaled) return;
|
||||
|
||||
/* Revert DRC rules to original (unscaled) values */
|
||||
drcScaleUp(DRCCurStyle, DRCCurStyle->DRCScaleFactorN);
|
||||
|
|
|
|||
Loading…
Reference in New Issue