From d19448f8f8743ea4ce467d4f92cba59c27dbe20b Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 28 Oct 2005 17:25:59 +0000
Subject: [PATCH] *** empty log message ***

---
 Plugin/Evaluate.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Plugin/Evaluate.cpp b/Plugin/Evaluate.cpp
index b8df0eb515..17ffcbe940 100644
--- a/Plugin/Evaluate.cpp
+++ b/Plugin/Evaluate.cpp
@@ -1,4 +1,4 @@
-// $Id: Evaluate.cpp,v 1.22 2005-06-25 17:17:15 geuzaine Exp $
+// $Id: Evaluate.cpp,v 1.23 2005-10-28 17:25:59 geuzaine Exp $
 //
 // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
 //
@@ -184,9 +184,10 @@ void GMSH_EvaluatePlugin::evaluate(Post_View *v1, List_T *list1, int nbElm1,
       for(int k = 0; k < nbComp; k++) v[k] = val1[k];
 
       // store data from the external view into w
-      double *val2, tmp[9];
       double w[9] = {0., 0., 0., 0., 0., 0., 0., 0., 0.};
+      double *val2;
       if(_octree){
+	double tmp[9];
 	val2 = tmp;
 	if(_octree->searchScalar(x[j], y[j], z[j], val2, timeStep2)){
 	  w[0] = val2[0];
-- 
GitLab