From: Sylvestre Ledru Date: Wed, 25 Jul 2012 08:54:37 +0000 (+0200) Subject: Fix a bug with clang on C++ X-Git-Tag: 5.4.0-beta-2~159 X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=commitdiff_plain;h=16e567881c28214d425dc2d7e822da46a749ab80 Fix a bug with clang on C++ Change-Id: Iea8802d58152911ba0adf508e6b98fcf3b4917ce --- diff --git a/scilab/modules/external_objects/includes/ScilabAbstractMemoryAllocator.hxx b/scilab/modules/external_objects/includes/ScilabAbstractMemoryAllocator.hxx index 5af0bf0..7d41cbb 100644 --- a/scilab/modules/external_objects/includes/ScilabAbstractMemoryAllocator.hxx +++ b/scilab/modules/external_objects/includes/ScilabAbstractMemoryAllocator.hxx @@ -389,7 +389,7 @@ public: if (!rows || !cols) { createEmptyMatrix(pvApiCtx, position); - return; + return 0; } if (dataPtr)