]> granicus.if.org Git - graphviz/commitdiff
squash -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 3 Apr 2021 02:21:20 +0000 (19:21 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 10 Apr 2021 21:53:51 +0000 (14:53 -0700)
plugin/visio/VisioGraphic.cpp
plugin/visio/VisioRender.cpp
plugin/visio/VisioText.cpp
tclpkg/gv/gv.cpp

index 40c4712435abcaec7357c8adc4eed92100e4f2e8..d20c95ce1601b7ab0536668344b87f7f56e7517a 100644 (file)
@@ -90,7 +90,7 @@ namespace Visio
                _points[1] = points[1];
        }
        
-       void Ellipse::Print(GVJ_t* job, pointf first, pointf last, bool allowCurves) const
+       void Ellipse::Print(GVJ_t* job, pointf, pointf, bool) const
        {
                gvputs(job, "<Geom>\n");
                if (!_filled)
@@ -301,7 +301,7 @@ namespace Visio
                return NULL;
        }
        
-       void Polygon::Print(GVJ_t* job, pointf first, pointf last, bool allowCurves) const
+       void Polygon::Print(GVJ_t* job, pointf first, pointf last, bool) const
        {
                gvputs(job, "<Geom>\n");
                if (!_filled)
@@ -355,7 +355,7 @@ namespace Visio
                return NULL;
        }
        
-       void Polyline::Print(GVJ_t* job, pointf first, pointf last, bool allowCurves) const
+       void Polyline::Print(GVJ_t* job, pointf first, pointf last, bool) const
        {
                gvputs(job, "<Geom>\n");
                if (_pointCount > 0)
index 441c1db1bc58c46de2c8182380eae990a6ccf0a2..9f4b5ec9be7e25cecae5f4915d43b3d622786429 100644 (file)
@@ -86,7 +86,7 @@ namespace Visio
                gvputs(job, "</Page>\n");
        }
 
-       void Render::BeginNode(GVJ_t* job)
+       void Render::BeginNode(GVJ_t*)
        {
                _inComponent = true;
                ClearGraphicsAndTexts();
@@ -157,7 +157,7 @@ namespace Visio
                ClearGraphicsAndTexts();
        }
 
-       void Render::BeginEdge(GVJ_t* job)
+       void Render::BeginEdge(GVJ_t*)
        {
                _inComponent = true;
                ClearGraphicsAndTexts();
@@ -246,14 +246,14 @@ namespace Visio
                        PrintOuterShape(job, *graphic);         
        }
 
-       void Render::AddText(GVJ_t* job, const Text* text)
+       void Render::AddText(GVJ_t*, const Text* text)
        {
                /* if in component, accumulate for end node/edge */
                if (_inComponent)
                        _texts.push_back(text);
        }
 
-       void Render::AddHyperlink(GVJ_t* job, const Hyperlink* hyperlink)
+       void Render::AddHyperlink(GVJ_t*, const Hyperlink* hyperlink)
        {
                /* if in component, accumulate for end node/edge */
                if (_inComponent)
index a700b391180d610098a5927912f33aff4c53ac38..e235218ac2394a494812bfb25f4a0a9a08e7e999 100644 (file)
@@ -151,7 +151,7 @@ namespace Visio
                        _run->Print(job, index);
        }
 
-       Hyperlink* Hyperlink::CreateHyperlink(GVJ_t* job, char* url, char* tooltip, char* target, char* id)
+       Hyperlink* Hyperlink::CreateHyperlink(GVJ_t*, char* url, char* tooltip, char* target, char*)
        {
                return new Hyperlink(tooltip, url, target);
        }
index 3c41d5b7163641b0cd5dc892b8fceb3b30605004..87780af3e1257c4a7862a2a6a8b91bcb2bc07cbe 100644 (file)
@@ -497,7 +497,7 @@ Agraph_t *firstsupg(Agraph_t *g)
     return g->parent;
 }
 
-Agraph_t *nextsupg(Agraph_t *g, Agraph_t *sg)
+Agraph_t *nextsupg(Agraph_t*, Agraph_t*)
 {
     return NULL;
 }