diff --git a/Src/Core/FFmmAlgorithm.hpp b/Src/Core/FFmmAlgorithm.hpp
index cb8ad6c668aa48a000e4c89fd6890f88b7f54fdc..fa06af5f89f84a7753b71547e1fad72c518ec734 100644
--- a/Src/Core/FFmmAlgorithm.hpp
+++ b/Src/Core/FFmmAlgorithm.hpp
@@ -75,7 +75,7 @@ public:
 
         downardPass();
 
-        directPass();         
+        directPass();
     }
 
 private:
diff --git a/Src/Kernels/FAbstractSphericalKernel.hpp b/Src/Kernels/FAbstractSphericalKernel.hpp
index 5cb6eeaed2f808c60c285a69a8f12223b0eedc3a..492cc4785c7b815c14f83c19faa31688bbce307f 100644
--- a/Src/Kernels/FAbstractSphericalKernel.hpp
+++ b/Src/Kernels/FAbstractSphericalKernel.hpp
@@ -202,7 +202,7 @@ public:
       */
     void P2P(const FTreeCoordinate& inLeafPosition,
                   ContainerClass* const FRestrict targets, const ContainerClass* const FRestrict sources,
-                  ContainerClass* const directNeighborsParticles[27], const int size){
+                  ContainerClass* const directNeighborsParticles[27], const int /*size*/){
 
         if( periodicLevels == 0 && targets == sources ){
             P2PNoTsm(targets, directNeighborsParticles);
diff --git a/Src/Kernels/FSphericalBlasKernel.hpp b/Src/Kernels/FSphericalBlasKernel.hpp
index 8a4a7a42d6ceaf8861302218372c9be79307bb28..ba025d323e9ce632c916aa3bf11875eedd02d52e 100644
--- a/Src/Kernels/FSphericalBlasKernel.hpp
+++ b/Src/Kernels/FSphericalBlasKernel.hpp
@@ -72,7 +72,6 @@ protected:
                                             else{
                                                 (*fillTransfer) = blasHarmonic.result()[blasHarmonic.getPreExpRedirJ(M+N)+k];
                                             }
-
                                         }
                                     }
                                 }
@@ -122,7 +121,7 @@ public:
 
     /** M2L with a cell and all the existing neighbors */
     void M2L(CellClass* const FRestrict pole, const CellClass* distantNeighbors[343],
-             const int /*size*/, const int inLevel) {
+             const int /*size*/, const int inLevel) {      
         // For all neighbors compute M2L
         for(int idxNeigh = 0 ; idxNeigh < 343 ; ++idxNeigh){
             if( distantNeighbors[idxNeigh] ){
@@ -191,13 +190,7 @@ public:
                     (FReal*)M2L_Outer_transfer,
                     (FReal*)temporaryMultiSource,
                     (FReal*)local_exp);
-        // TODO delete
-        static int count = 0;
-        if( FMath::IsNan(local_exp[CellClass::GetLocalSize()-1].getReal()) && count != -1){
-            std::cout << "count is " << count << std::endl;
-            count = -1;
-        }
-        if(count != -1) count++;
+
     }
 };