Coverity Fix-CID:1382094 44/19644/2
Saksham Gupta [Fri, 5 Jan 2018 17:35:43 +0000 (22:35 +0530)]
Missing Return Statement.

Change-Id: I006867a5915556d11ed9391e82a44f6d27ad6d73

scilab/modules/scicos/src/cpp/view_scilab/ModelAdapter.cpp

index d18f3aa..12648ba 100644 (file)
@@ -871,6 +871,7 @@ struct rpar
             double *data;
             types::Double* o = new types::Double((int)rpar.size(), 1, &data);
             std::copy(rpar.begin(), rpar.end(), data);
+            return o;
         }
         else // SuperBlock, return the contained diagram (allocating it on demand)
         {