From 12d5a0e32240aab307e19f9ef8d5fd4b68f99b53 Mon Sep 17 00:00:00 2001 From: ponchio Date: Wed, 27 Aug 2008 14:33:20 +0000 Subject: [PATCH] Removed compile warning by initializing imax to 0 in Decompose(). --- vcg/math/matrix44.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/math/matrix44.h b/vcg/math/matrix44.h index cb53bfa8..c01efe30 100644 --- a/vcg/math/matrix44.h +++ b/vcg/math/matrix44.h @@ -914,7 +914,7 @@ template bool LinearSolve::Decompose() { scaling[i] = (T)1.0 / largest; } - int imax; + int imax = 0; for(j = 0; j < 4; j++) { for(i = 0; i < j; i++) { T sum = this->ElementAt(i,j);