From: Matthew Fernandez Date: Thu, 29 Apr 2021 02:35:16 +0000 (-0700) Subject: remove dead stores to orig_key field in Smyrna X-Git-Tag: 2.47.2~25^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ff2d69625f6b4a0200e73f053c439ffcd1313cb;p=graphviz remove dead stores to orig_key field in Smyrna This field is never read from. Related to #2050. --- diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 88d89cf82..465057885 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -547,7 +547,6 @@ void refreshViewport(int doClear) graphRecord(graph); initSmGraph(graph,view->Topview); - fill_key(view->orig_key, get_md5_key(graph)); expose_event(view->drawing_area, NULL, NULL); } @@ -658,7 +657,6 @@ int save_graph(void) GraphFileName); } else return save_as_graph(); - fill_key(view->orig_key, get_md5_key(view->g[view->activeGraph])); } return 1;