From: Matthew Fernandez Date: Thu, 21 Oct 2021 01:57:57 +0000 (-0700) Subject: smyrna: remove unused 'bdzTop' X-Git-Tag: 2.49.3~1^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67f6d04f97e116eea21297fd022652f53a9502ec;p=graphviz smyrna: remove unused 'bdzTop' --- diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index cc84fdff4..2f33651ee 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -544,7 +544,7 @@ typedef struct float FontSize; - float bdxLeft, bdyTop, bdzTop; + float bdxLeft, bdyTop; float bdxRight, bdyBottom, bdzBottom; /*reserved , not being used yet */ diff --git a/cmd/smyrna/topviewfuncs.c b/cmd/smyrna/topviewfuncs.c index 854062ba3..4b23f8ca6 100644 --- a/cmd/smyrna/topviewfuncs.c +++ b/cmd/smyrna/topviewfuncs.c @@ -78,7 +78,6 @@ static void set_boundaries(Agraph_t * g, topview * t) view->bdxRight = right; view->bdyBottom = bottom; - view->bdzTop = 0; view->bdzBottom = 0; } diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index a7208a33d..5df089e90 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -303,7 +303,6 @@ void init_viewport(ViewInfo * view) view->bdyBottom = 0; view->bdyTop = 500; view->bdzBottom = 0; - view->bdzTop = 0; view->borderColor.R = 1; view->borderColor.G = 0;