From eddff855098f227eb6c4c7a669d47a5a11dd0ad7 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 13 Aug 2012 12:40:40 +0000
Subject: [PATCH]

---
 Common/onelabUtils.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Common/onelabUtils.cpp b/Common/onelabUtils.cpp
index 651a539607..47d9484dc6 100644
--- a/Common/onelabUtils.cpp
+++ b/Common/onelabUtils.cpp
@@ -204,7 +204,7 @@ namespace onelabUtils {
   bool updateGraph(const std::string &graphNum)
   {
     bool changed = false;
-
+#if defined(HAVE_POST)
     PView *view = 0;
 
     for(unsigned int i = 0; i < PView::list.size(); i++){
@@ -254,7 +254,7 @@ namespace onelabUtils {
       delete view;
       changed = true;
     }
-
+#endif
     return changed;
   }
 
-- 
GitLab