]> granicus.if.org Git - graphviz/commitdiff
remove unnecessary 'Show_boxes' cast
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 10 Oct 2021 21:02:07 +0000 (14:02 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 13 Oct 2021 14:55:32 +0000 (07:55 -0700)
`Show_boxes` is already a `const char**`.

lib/common/emit.c

index cb595187478800ea411be9cdef3f0b48ab6a305b..d1a2ce907932c8d1465dfee236aa136e02482d57 100644 (file)
@@ -4103,7 +4103,7 @@ int gvRenderJobs (GVC_t * gvc, graph_t * g)
                /* Show_boxes is not defined, if at all, 
                  * until splines are generated in dot 
                  */
-           job->common->show_boxes = (const char**)Show_boxes; 
+           job->common->show_boxes = Show_boxes;
 #endif
            emit_graph(job, g);
        }