mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
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:
committed by
Tim Edwards
parent
04bc9032b9
commit
c1aeaa9be5
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user