From 00604f8bf08d896720f0e5620221ae482562fc47 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 20 Oct 2021 18:58:56 -0700 Subject: [PATCH] smyrna: remove unused 'bdzBottom' --- cmd/smyrna/smyrnadefs.h | 2 +- cmd/smyrna/topviewfuncs.c | 2 -- cmd/smyrna/viewport.c | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index 2f33651ee..76fa4fd8e 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -545,7 +545,7 @@ typedef struct float bdxLeft, bdyTop; - float bdxRight, bdyBottom, bdzBottom; + float bdxRight, bdyBottom; /*reserved , not being used yet */ GEunit unit; //default pixels :0 diff --git a/cmd/smyrna/topviewfuncs.c b/cmd/smyrna/topviewfuncs.c index 4b23f8ca6..3d4966e24 100644 --- a/cmd/smyrna/topviewfuncs.c +++ b/cmd/smyrna/topviewfuncs.c @@ -77,8 +77,6 @@ static void set_boundaries(Agraph_t * g, topview * t) view->bdyTop = top; view->bdxRight = right; view->bdyBottom = bottom; - - view->bdzBottom = 0; } static void draw_xdot(xdot* x,float base_z) diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 5df089e90..369598572 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -302,7 +302,6 @@ void init_viewport(ViewInfo * view) view->bdxRight = 500; view->bdyBottom = 0; view->bdyTop = 500; - view->bdzBottom = 0; view->borderColor.R = 1; view->borderColor.G = 0; -- 2.40.0