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

index 6cf76cce797c5709abba78fcd5a69a953ba1bece..b45ec82f188f8d80d4a6a7145d4781d240f031d0 100644 (file)
@@ -2237,7 +2237,7 @@ taperfun (edge_t* e)
        if (streq(attr, "both")) return bothfunc;
        if (streq(attr, "none")) return nonefunc;
     }
-    return (agisdirected(agraphof(aghead(e))) ? forfunc : nonefunc);
+    return agisdirected(agraphof(aghead(e))) ? forfunc : nonefunc;
 }
 
 static void emit_edge_graphics(GVJ_t * job, edge_t * e, char** styles)