From 533c84a1852018351acb86db37d2934a311e2984 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Serri=C3=A8re=20Guillaume?= <guillaume.serriere@inria.fr>
Date: Wed, 26 Aug 2015 18:08:46 +0200
Subject: [PATCH] Plugin: Suppress unused variable.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Serrière Guillaume <guillaume.serriere@inria.fr>
---
 .../src/algorithms/basic/ovpCAlgorithmOnlineCovariance.cpp    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/plugins/processing/signal-processing/src/algorithms/basic/ovpCAlgorithmOnlineCovariance.cpp b/plugins/processing/signal-processing/src/algorithms/basic/ovpCAlgorithmOnlineCovariance.cpp
index 03d67f11b..b73d4f73d 100644
--- a/plugins/processing/signal-processing/src/algorithms/basic/ovpCAlgorithmOnlineCovariance.cpp
+++ b/plugins/processing/signal-processing/src/algorithms/basic/ovpCAlgorithmOnlineCovariance.cpp
@@ -1,4 +1,4 @@
-#if defined TARGET_HAS_ThirdPartyEIGEN
+#if 1//defined TARGET_HAS_ThirdPartyEIGEN
 
 #include "ovpCAlgorithmOnlineCovariance.h"
 
@@ -122,8 +122,6 @@ OpenViBE::boolean CAlgorithmOnlineCovariance::process(void)
 
 			const MatrixXd l_oChunkMean = l_oSampleChunk.colwise().mean();
 			const MatrixXd l_oChunkCentered = l_oSampleChunk.rowwise() - l_oChunkMean.row(0);
-
-			const MatrixXd l_oChunkCenteredMean = l_oChunkCentered.colwise().mean();
 			
 			MatrixXd l_oChunkCov = (1.0/float64(l_ui32nRows)) * l_oChunkCentered.transpose() * l_oChunkCentered;
 
-- 
GitLab