diff --git a/Plugin/Plugin.cpp b/Plugin/Plugin.cpp
index df65a331ea7e545f3341516024b27d44fef122aa..ca4725e1b3768bae2ae7931720bd9a4be94e70a0 100644
--- a/Plugin/Plugin.cpp
+++ b/Plugin/Plugin.cpp
@@ -19,14 +19,14 @@ PView *GMSH_PostPlugin::getView(int index, PView *view)
   }
 }
 
-PViewDataList *GMSH_PostPlugin::getDataList(PView *view, bool error)
+PViewDataList *GMSH_PostPlugin::getDataList(PView *view, bool showError)
 {
   if(!view) return 0;
 
   PViewDataList *data = dynamic_cast<PViewDataList*>(view->getData());
   if(data)
     return data;
-  else if(error)
+  else if(showError)
     Msg::Error("This plugin can only be run on list-based views (`.pos' files)");
   return 0;
 }
diff --git a/Plugin/Plugin.h b/Plugin/Plugin.h
index 3d2874e589ba20c29902d891423a01dd5f019bbe..63dcadcb339e17d02fdac196038dca604af9af27 100644
--- a/Plugin/Plugin.h
+++ b/Plugin/Plugin.h
@@ -81,7 +81,7 @@ class GMSH_PostPlugin : public GMSH_Plugin
   // get the view given an index and a default value
   virtual PView *getView(int index, PView *view);
   // get the data in list format
-  virtual PViewDataList *getDataList(PView *view, bool error=1);
+  virtual PViewDataList *getDataList(PView *view, bool showError=true);
   virtual void assignSpecificVisibility() const {}
   virtual bool geometricalFilter(gmshMatrix<double> *) const { return true; }
 };