summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-02-06 00:09:05 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-06 04:38:01 +0000
commit3f6643b92742d775f5924a348d626ea695357825 (patch)
tree3249ce046ebb7c2ed10cbd9cfe74224231e202d7 /hwpfilter
parent5bafdc99a15fa9b4b5e1b06f0f76d52addf09873 (diff)
default ctor is fine here
this was hiding a Wunused-variable warning Change-Id: I32bd853846bc6f56c082541109eedfdab2402c3d Reviewed-on: https://gerrit.libreoffice.org/33942 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/cspline.cxx1
-rw-r--r--hwpfilter/source/solver.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/hwpfilter/source/cspline.cxx b/hwpfilter/source/cspline.cxx
index 87d36eeacc0f..80e80820e2a6 100644
--- a/hwpfilter/source/cspline.cxx
+++ b/hwpfilter/source/cspline.cxx
@@ -119,7 +119,6 @@ void PeriodicSpline (int N, double* x, double* a, double*& b, double*& c,
for (i = 0; i < N; i++)
h[i] = x[i+1]-x[i];
- mgcLinearSystemD sys;
double** mat = mgcLinearSystemD::NewMatrix(N+1); // guaranteed to be zeroed memory
c = mgcLinearSystemD::NewVector(N+1); // guaranteed to be zeroed memory
diff --git a/hwpfilter/source/solver.h b/hwpfilter/source/solver.h
index 8aba94a1125b..54daf1542653 100644
--- a/hwpfilter/source/solver.h
+++ b/hwpfilter/source/solver.h
@@ -23,8 +23,6 @@
class mgcLinearSystemD
{
public:
- mgcLinearSystemD() {;}
-
static double** NewMatrix (int N);
static void DeleteMatrix (int N, double** A);
static double* NewVector (int N);