]> granicus.if.org Git - graphviz/commitdiff
nodeIntersect: remove unused 'explicit_itarget' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 7 Nov 2021 01:35:57 +0000 (18:35 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 10 Nov 2021 05:59:31 +0000 (21:59 -0800)
lib/common/emit.c

index c45bab985da6cb767f7200f9fd7d277091ec5404..f9d578746a745767bf4918dc038cafa232c15946 100644 (file)
@@ -2734,8 +2734,7 @@ emit_edge_label(GVJ_t* job, textlabel_t* lbl, emit_state_t lkind, int explicit,
  */
 static void nodeIntersect (GVJ_t * job, pointf p, 
     boolean explicit_iurl, char* iurl,
-    boolean explicit_itooltip,
-    boolean explicit_itarget, char* itarget)
+    boolean explicit_itooltip, char* itarget)
 {
     obj_state_t *obj = job->obj;
     char* url;
@@ -2792,8 +2791,7 @@ static void emit_end_edge(GVJ_t * job)
        else /* No arrow at start of splines */
            p = bz.list[0];
        nodeIntersect (job, p, obj->explicit_tailurl, obj->tailurl,
-           obj->explicit_tailtooltip,
-           obj->explicit_tailtarget, obj->tailtarget); 
+           obj->explicit_tailtooltip, obj->tailtarget);
         
        /* process intersection with head node */
        bz = ED_spl(e)->list[ED_spl(e)->size - 1];
@@ -2802,8 +2800,7 @@ static void emit_end_edge(GVJ_t * job)
        else /* No arrow at end of splines */
            p = bz.list[bz.size - 1];
        nodeIntersect (job, p, obj->explicit_headurl, obj->headurl,
-           obj->explicit_headtooltip,
-           obj->explicit_headtarget, obj->headtarget); 
+           obj->explicit_headtooltip, obj->headtarget);
     }
 
     emit_edge_label(job, ED_label(e), EMIT_ELABEL,