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

index 23ead66577d1d0e75b27ff145b0d1036c614143c..5e7331ee27494b27e01dca33738dddfdfd275cd9 100644 (file)
@@ -2509,7 +2509,7 @@ static void emit_begin_edge(GVJ_t * job, edge_t * e, char** styles)
      */
     if (styles && ED_spl(e)) gvrender_set_style(job, styles);
 
-    if (E_penwidth && ((s=agxget(e,E_penwidth)) && s[0])) {
+    if (E_penwidth && (s = agxget(e, E_penwidth)) && s[0]) {
        penwidth = late_double(e, E_penwidth, 1.0, 0.0);
        gvrender_set_penwidth(job, penwidth);
     }