]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'bdzBottom'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 21 Oct 2021 01:58:56 +0000 (18:58 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 22 Oct 2021 00:04:21 +0000 (17:04 -0700)
cmd/smyrna/smyrnadefs.h
cmd/smyrna/topviewfuncs.c
cmd/smyrna/viewport.c

index 2f33651ee309a1f2f95d9da04defdf6d34a84509..76fa4fd8e5a9221c9bfcd1034b093b837c2dcd96 100644 (file)
@@ -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  
index 4b23f8ca6e3d9d85bc81d90036535828c24f22fd..3d4966e24ee7dc4e647f2caa3689e00aa8f6f856 100644 (file)
@@ -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)
index 5df089e90a0aec51b584825a872960b566404817..3695985725c1d348e5aa3a50a038a1ee21d47955 100644 (file)
@@ -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;