]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'bdzTop'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 21 Oct 2021 01:57:57 +0000 (18:57 -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 cc84fdff4728c7c3205d9d4fd96f6b0dbebd7ff0..2f33651ee309a1f2f95d9da04defdf6d34a84509 100644 (file)
@@ -544,7 +544,7 @@ typedef struct
        float FontSize;
 
 
-       float bdxLeft, bdyTop, bdzTop;
+       float bdxLeft, bdyTop;
        float bdxRight, bdyBottom, bdzBottom;
 
        /*reserved , not being used yet */
index 854062ba32d4188f466a0cf812a19855a083989f..4b23f8ca6e3d9d85bc81d90036535828c24f22fd 100644 (file)
@@ -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;
 }
 
index a7208a33dc210348f6dffd2f6d65b0d9d1adde4e..5df089e90a0aec51b584825a872960b566404817 100644 (file)
@@ -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;