summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/texfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/texfile.cc')
-rw-r--r--Build/source/utils/asymptote/texfile.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/utils/asymptote/texfile.cc b/Build/source/utils/asymptote/texfile.cc
index 9437ab389f3..8e1e07b9c4b 100644
--- a/Build/source/utils/asymptote/texfile.cc
+++ b/Build/source/utils/asymptote/texfile.cc
@@ -258,14 +258,14 @@ void texfile::endpicture(const bbox& b)
verbatimline("pt%");
}
-void texfile::gsave()
+void texfile::gsave(bool)
{
*out << settings::beginspecial(texengine);
psfile::gsave(true);
*out << settings::endspecial() << newl;
}
-void texfile::grestore()
+void texfile::grestore(bool)
{
*out << settings::beginspecial(texengine);
psfile::grestore(true);
@@ -356,7 +356,7 @@ void svgtexfile::endtransform()
*out << "</g>";
}
-void svgtexfile::gsave(bool tex)
+void svgtexfile::gsave(bool)
{
if(clipstack.size() < 1)
clipstack.push(0);
@@ -366,7 +366,7 @@ void svgtexfile::gsave(bool tex)
pens.push(lastpen);
}
-void svgtexfile::grestore(bool tex)
+void svgtexfile::grestore(bool)
{
if(pens.size() < 1 || clipstack.size() < 1)
reportError("grestore without matching gsave");
@@ -418,7 +418,7 @@ void svgtexfile::beginclip()
++clipcount;
*out << "id='clip" << clipcount << "'>" << nl;
beginpath();
- if(clipstack.size() >= 0)
+ if(clipstack.size() > 0)
clipstack.pop();
clipstack.push(clipcount);
}