Skip to content

Commit f03b50f

Browse files
fix: Unused parameter warnings
1 parent b101283 commit f03b50f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

examples/original/vb17.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using namespace cubpackpp;
88
real f(const Point& p)
99
{
10-
real x=p.X() , y=p.Y();
10+
real x=p.X();
1111
return 0.25/sqrt(x*(2.0-x));
1212
}
1313

examples/original/vb4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using namespace cubpackpp;
99

1010
real f(const Point& p)
1111
{
12-
real x=p.X() , y=p.Y();
12+
real x=p.X() ;
1313
return 0.25/sqrt(x*(2.0-x));
1414
}
1515

examples/original/vb5.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using namespace cubpackpp;
88

99
real f(const Point& p)
10-
{ real x=p.X() , y=p.Y();
10+
{
1111
return p.Y();
1212
}
1313

include/cubpackpp/rule.tpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace cubpackpp {
3333
/////////////////////////////////////////////////
3434
template<class GEOMETRY>
3535
void
36-
Rule<GEOMETRY>::Apply(Integrand &F, GEOMETRY &G, real &i, real &d) {
36+
Rule<GEOMETRY>::Apply(Integrand &, GEOMETRY &, real &, real &) {
3737
}
3838

3939
///////////////////////////////////////////////////

src/C2dv4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace cubpackpp {
2525
//////////////////////////////////////////////////
2626
void Parallelogram_Divide4::Apply(const Parallelogram &t,
2727
Stack<Parallelogram> &Offspring,
28-
const Vector<unsigned int> &DiffOrder) {
28+
const Vector<unsigned int> &) {
2929
Point m12 = (t.Vertex(0) + t.Vertex(1)) / 2;
3030
Point m13 = (t.Vertex(0) + t.Vertex(2)) / 2;
3131
Point m23 = (t.Vertex(2) + t.Vertex(1)) / 2;

src/T2dv4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
namespace cubpackpp {
2424
//////////////////////////////////////////////////
2525
void Triangle_Divide4::Apply(const Triangle &t, Stack<Triangle> &Offspring,
26-
const Vector<unsigned int> &D) {
26+
const Vector<unsigned int> &) {
2727

2828
Point m12 = (t.Vertex(0) + t.Vertex(1)) / 2;
2929
Point m13 = (t.Vertex(0) + t.Vertex(2)) / 2;

0 commit comments

Comments
 (0)