From 1f07fff27f7e9447b0989dfe13bf9ad0d0f0bf27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9E=A5=EC=A7=80=EC=84=AD/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Engineer/=EC=82=BC=EC=84=B1=EC=A0=84?= =?utf8?q?=EC=9E=90?= Date: Wed, 4 Apr 2018 17:42:00 +0900 Subject: [PATCH] Fix wrong return value (#436) This commit fixes wrong return value. Signed-off-by: jiseob.jang --- src/runtime/ref/nn/runtime/Memory.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/runtime/ref/nn/runtime/Memory.cpp b/src/runtime/ref/nn/runtime/Memory.cpp index bde3f9e..65daf9d 100644 --- a/src/runtime/ref/nn/runtime/Memory.cpp +++ b/src/runtime/ref/nn/runtime/Memory.cpp @@ -74,10 +74,9 @@ int Memory::create(uint32_t size) { LOG(ERROR) << "Memory::create failed"; return ANEURALNETWORKS_OP_FAILED; } +#endif // TODO-NNRT return ANEURALNETWORKS_NO_ERROR; -#endif // TODO-NNRT - return ANEURALNETWORKS_OP_FAILED; } bool Memory::validateSize(uint32_t offset, uint32_t length) const { -- 2.7.4