DRCtech.c: warning: use of logical '&&' with constant operand
Looks like logic error hiding behind warning DRCtech.c:4365:22: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] DRCtech.c:4365:22: note: remove constant to silence this warning clang18 default warning cleanup
This commit is contained in:
parent
da2c7b719e
commit
3300f45a22
|
|
@ -4362,7 +4362,7 @@ DRCGetDefaultLayerSurround(ttype1, ttype2)
|
|||
cset = &cptr->drcc_corner;
|
||||
if (TTMaskHasType(set, TT_SPACE) && !TTMaskHasType(set, ttype1))
|
||||
if ((TTMaskHasType(cset, ttype2)) &&
|
||||
(cptr->drcc_flags && DRC_BOTHCORNERS) &&
|
||||
(cptr->drcc_flags & DRC_BOTHCORNERS) &&
|
||||
(cptr->drcc_edgeplane == cptr->drcc_plane) &&
|
||||
(cptr->drcc_dist == cptr->drcc_cdist))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue