]> granicus.if.org Git - graphviz/commitdiff
checkClusterStyle: remove unnecessary bracketing
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 29 Aug 2021 23:49:08 +0000 (16:49 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 4 Sep 2021 02:28:20 +0000 (19:28 -0700)
lib/common/emit.c

index 07fdd0f9208af46e959a0c03a14f7bf40647860c..6ee51244c548244b556e597f4240fb3525015c44 100644 (file)
@@ -360,7 +360,7 @@ static char **checkClusterStyle(graph_t* sg, int *flagp)
     char **pstyle = NULL;
     int istyle = 0;
 
-    if (((style = agget(sg, "style")) != 0) && style[0]) {
+    if ((style = agget(sg, "style")) != 0 && style[0]) {
        char **pp;
        char **qp;
        char *p;