]> granicus.if.org Git - graphviz/commitdiff
remove now-unused jmp_buf
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 3 Apr 2021 19:35:30 +0000 (12:35 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 10 Apr 2021 01:26:32 +0000 (18:26 -0700)
Related to #1801.

lib/fdpgen/layout.c

index b491d6410b68f66731adef90cba880f9f33eedb7..19a449cde31ae8263481f63e4673b820b1d87a9e 100644 (file)
 #include <pack/pack.h>
 #include <fdpgen/clusteredges.h>
 #include <fdpgen/dbg.h>
-#include <setjmp.h>
 #include <stddef.h>
 
-static jmp_buf jbuf;
-
 typedef struct {
     graph_t*  rootg;  /* logical root; graph passed in to fdp_layout */
     attrsym_t *G_coord;
@@ -1101,9 +1098,6 @@ void fdp_layout(graph_t * g)
         
     PSinputscale = get_inputscale (g);
     fdp_init_graph(g);
-    if (setjmp(jbuf)) {
-       return;
-    }
     if (fdpLayout(g) != 0) {
        return;
     }