]> granicus.if.org Git - graphviz/commitdiff
emit_node: remove unnecessary bracketing
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 30 Aug 2021 00:12:02 +0000 (17:12 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 4 Sep 2021 02:28:20 +0000 (19:28 -0700)
lib/common/emit.c

index ca72c69ee12c0ee9f9d33a0517a4c475a0413f35..ef4a106252316853f50b0b84855a4c60237dfa13 100644 (file)
@@ -1929,7 +1929,7 @@ static void emit_node(GVJ_t * job, node_t * n)
     if (ND_shape(n)                                 /* node has a shape */
            && node_in_layer(job, agraphof(n), n)    /* and is in layer */
            && node_in_box(n, job->clip)             /* and is in page/view */
-           && (ND_state(n) != gvc->common.viewNum)) /* and not already drawn */
+           && ND_state(n) != gvc->common.viewNum) /* and not already drawn */
     {
        ND_state(n) = gvc->common.viewNum;           /* mark node as drawn */