[Libreoffice-commits] core.git: editeng/source hwpfilter/source

Jochen Nitschke j.nitschke+logerrit at ok.de
Mon Feb 6 04:38:36 UTC 2017


 editeng/source/editeng/editstt2.hxx |    2 --
 hwpfilter/source/cspline.cxx        |    1 -
 hwpfilter/source/solver.h           |    2 --
 3 files changed, 5 deletions(-)

New commits:
commit 3f6643b92742d775f5924a348d626ea695357825
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Mon Feb 6 00:09:05 2017 +0100

    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 at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/editeng/source/editeng/editstt2.hxx b/editeng/source/editeng/editstt2.hxx
index f846c16..15a8a0e 100644
--- a/editeng/source/editeng/editstt2.hxx
+++ b/editeng/source/editeng/editstt2.hxx
@@ -26,8 +26,6 @@ class InternalEditStatus : public EditStatus
 {
 
 public:
-            InternalEditStatus() { ; }
-
     void    TurnOnFlags( EEControlBits nFlags )
                 { nControlBits |= nFlags; }
 
diff --git a/hwpfilter/source/cspline.cxx b/hwpfilter/source/cspline.cxx
index 87d36ee..80e8082 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 8aba94a..54daf15 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);


More information about the Libreoffice-commits mailing list