Remove unnecessary return statement (#846)
author최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 <hk0110.choi@samsung.com>
Tue, 24 Apr 2018 04:30:00 +0000 (13:30 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 24 Apr 2018 04:30:00 +0000 (13:30 +0900)
- Remove unnecessary return statement which make below code unreachable.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
src/runtime/ref/nn/common/CpuExecutor.cpp

index 70136ec..bd83f02 100755 (executable)
@@ -1296,7 +1296,6 @@ int CpuExecutor::executeOperation(const Operation& operation) {
             nnAssert(false);
 #endif
             NYI(getOperationName(operation.type));
-            return ANEURALNETWORKS_OP_FAILED;
             break;
     }
     if (!success) {