Scicos src: fix compilation warnings 52/18052/2
Paul Bignier [Thu, 7 Apr 2016 09:57:29 +0000 (11:57 +0200)]
Change-Id: I9786d18e4ea968f02c6a3b4fe54b4b289275c058

scilab/modules/scicos/sci_gateway/cpp/sci_scicos_new.cpp
scilab/modules/scicos/src/cpp/view_scilab/ParamsAdapter.cpp

index 2c9ac10..e852dc4 100644 (file)
@@ -134,7 +134,7 @@ types::InternalType * alloc_and_set_as_mlist(types::String* type_name, types::ty
     return mlist;
 }
 
-static types::Function::ReturnValue allocate(types::typed_list &in, int _iRetCount, types::typed_list &out)
+static types::Function::ReturnValue allocate(types::typed_list &in, int /*_iRetCount*/, types::typed_list &out)
 {
     types::InternalType* type = in[0];
 
index afb0d8a..f0feb0b 100644 (file)
@@ -67,7 +67,7 @@ struct dummy_property
 struct wpar
 {
 
-    static types::InternalType* get(const ParamsAdapter& adaptor, const Controller& controller)
+    static types::InternalType* get(const ParamsAdapter& /*adaptor*/, const Controller& /*controller*/)
     {
         types::Double* ret = new types::Double(1, 6);
         ret->set(0, 600);