Fix a bug with clang on C++ 10/8310/1
Sylvestre Ledru [Wed, 25 Jul 2012 08:54:37 +0000 (10:54 +0200)]
Change-Id: Iea8802d58152911ba0adf508e6b98fcf3b4917ce

scilab/modules/external_objects/includes/ScilabAbstractMemoryAllocator.hxx

index 5af0bf0..7d41cbb 100644 (file)
@@ -389,7 +389,7 @@ public:
         if (!rows || !cols)
         {
             createEmptyMatrix(pvApiCtx, position);
-            return;
+            return 0;
         }
 
         if (dataPtr)