From: Matthew Fernandez Date: Wed, 21 Dec 2022 05:42:36 +0000 (-0800) Subject: smyrna: remove duplicate 'defaultmagnifierwidth' retrieval X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2c6c5c3ff7489e8f0b82b06a07c9eff3bd29e9d;p=graphviz smyrna: remove duplicate 'defaultmagnifierwidth' retrieval The return value of this call was being ignored. It seems accidentally copy-pasted from the lines below. --- diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 0c4a0ad90..8fdfa820b 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -168,7 +168,6 @@ void set_viewport_settings_from_template(ViewInfo *vi, Agraph_t *g) { vi->FontSize = (float) atof(get_attribute_value("defaultfontsize", vi, g)); - get_attribute_value("defaultmagnifierwidth", vi, g); vi->mg.width = atoi(get_attribute_value("defaultmagnifierwidth", vi, g)); vi->mg.height =