obj->data = data;
obj->tag.mtflock = mtflock != 0;
- if ((AGTYPE(obj) == AGINEDGE) || (AGTYPE(obj) == AGOUTEDGE)) {
+ if (AGTYPE(obj) == AGINEDGE || AGTYPE(obj) == AGOUTEDGE) {
e = agopp((Agedge_t *) obj);
AGDATA(e) = data;
e->base.tag.mtflock = mtflock != 0;
}
if (d) {
if (hdr->tag.mtflock) {
- if (mtf && (hdr->data != d))
+ if (mtf && hdr->data != d)
agerr(AGERR, "move to front lock inconsistency");
} else {
- if ((d != first) || (mtf != hdr->tag.mtflock))
+ if (d != first || mtf != hdr->tag.mtflock)
set_data(hdr, d, mtf); /* Always optimize */
}
}