From 8b0aa48b60190cb48823b933878a35f2d9c0fadb Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 15 Jun 2010 06:30:04 +0000
Subject: [PATCH] fix compile

---
 Common/LuaBindings.cpp      | 2 +-
 Solver/elasticitySolver.cpp | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Common/LuaBindings.cpp b/Common/LuaBindings.cpp
index e20a7f8f37..3820811fb1 100644
--- a/Common/LuaBindings.cpp
+++ b/Common/LuaBindings.cpp
@@ -30,13 +30,13 @@
 #include "GmshMessage.h"
 #include "linearSystem.h"
 #include "Options.h"
-#include "elasticitySolver.h"
 
 #if defined(HAVE_OPENGL)
 #include "drawContext.h"
 #endif
 
 #if defined(HAVE_SOLVER)
+#include "elasticitySolver.h"
 #include "linearSystemCSR.h"
 #endif
 
diff --git a/Solver/elasticitySolver.cpp b/Solver/elasticitySolver.cpp
index 7343015894..c1fe43c6ac 100644
--- a/Solver/elasticitySolver.cpp
+++ b/Solver/elasticitySolver.cpp
@@ -104,10 +104,12 @@ void elasticitySolver::readInputFile(const std::string &fn)
   while(!feof(f)){
     if(fscanf(f, "%s", what) != 1) return;
     if(what[0]=='#'){
+      /*
       char *line=NULL;
       size_t l = 0;
       int r = getline(&line,&l,f);
       free(line);
+      */
     }
     else if (!strcmp(what, "ElasticDomain")){
       elasticField field;
-- 
GitLab