if (s == NULL)
return 0;
key = (refstr_t *) (s - offsetof(refstr_t, store[0]));
- return ((key->refcnt & HTML_BIT) != 0);
+ return (key->refcnt & HTML_BIT) != 0;
}
void agmarkhtmlstr(char *s)
static int attrs_written(void *obj)
{
- return (AGATTRWF((Agobj_t *) obj));
+ return AGATTRWF(obj);
}
static int write_node(Agnode_t * n, iochan_t * ofile, Dict_t * d)
CHKRV(write_node(n, ofile, dd ? dd->dict.n : 0));
prev = n;
for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
- if ((prev != aghead(e))
- && write_node_test(g, aghead(e), AGSEQ(n))) {
+ if (prev != aghead(e) && write_node_test(g, aghead(e), AGSEQ(n))) {
CHKRV(write_node(aghead(e), ofile, dd ? dd->dict.n : 0));
prev = aghead(e);
}