]> granicus.if.org Git - graphviz/commitdiff
JSON plugin: remove unused 'Attrs_not_written_flag' state field
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 24 Oct 2021 17:52:05 +0000 (10:52 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 30 Oct 2021 19:26:19 +0000 (12:26 -0700)
plugin/core/gvrender_core_json.c

index 9d9904b719d58fcf0ca51e5de00da0d3c0afe279..39714ae07f7c0b2781eb545ec68a0424e6ec3149 100644 (file)
@@ -45,7 +45,6 @@ typedef struct {
     int Level;
     boolean isLatin;
     boolean doXDot;
-    boolean Attrs_not_written_flag;
 } state_t;
 
 typedef struct {
@@ -712,7 +711,6 @@ static void json_end_graph(GVJ_t *job)
     sp.Level = 0;
     sp.isLatin = GD_charset(g) == CHAR_LATIN1;
     sp.doXDot = job->render.id == FORMAT_JSON || job->render.id == FORMAT_XDOT_JSON;
-    sp.Attrs_not_written_flag = 0;
     write_graph(g, job, TRUE, &sp);
 }