From 16e567881c28214d425dc2d7e822da46a749ab80 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 25 Jul 2012 10:54:37 +0200 Subject: [PATCH] Fix a bug with clang on C++ Change-Id: Iea8802d58152911ba0adf508e6b98fcf3b4917ce --- .../includes/ScilabAbstractMemoryAllocator.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.9.5