# HG changeset patch # User John W. Eaton # Date 1456333749 18000 # Node ID 0dcc99afc25b222e37a61fdacd632bfa65c83867 # Parent e078d2208d866f931974c63b34f9b4fbcedebdb1 eliminate unused private data member * Quad.h (IndefQuad::integration_error, FloatDefQuad::integration_error): Delete unused private data member. diff -r e078d2208d86 -r 0dcc99afc25b liboctave/numeric/Quad.h --- a/liboctave/numeric/Quad.h Wed Feb 24 12:06:15 2016 -0500 +++ b/liboctave/numeric/Quad.h Wed Feb 24 12:09:09 2016 -0500 @@ -164,10 +164,10 @@ enum IntegralType { bound_to_inf, neg_inf_to_bound, doubly_infinite }; IndefQuad (integrand_fcn fcn) - : Quad (fcn), bound (0.0), type (bound_to_inf), integration_error (0) { } + : Quad (fcn), bound (0.0), type (bound_to_inf) { } IndefQuad (integrand_fcn fcn, double b, IntegralType t) - : Quad (fcn), bound (b), type (t), integration_error (0) { } + : Quad (fcn), bound (b), type (t) { } ~IndefQuad (void) { } @@ -181,7 +181,6 @@ double bound; IntegralType type; - int integration_error; }; class @@ -230,10 +229,10 @@ enum IntegralType { bound_to_inf, neg_inf_to_bound, doubly_infinite }; FloatIndefQuad (float_integrand_fcn fcn) - : Quad (fcn), bound (0.0), type (bound_to_inf), integration_error (0) { } + : Quad (fcn), bound (0.0), type (bound_to_inf) { } FloatIndefQuad (float_integrand_fcn fcn, double b, IntegralType t) - : Quad (fcn), bound (b), type (t), integration_error (0) { } + : Quad (fcn), bound (b), type (t) { } ~FloatIndefQuad (void) { } @@ -247,7 +246,6 @@ float bound; IntegralType type; - int integration_error; }; #endif