projects
/
platform
/
core
/
ml
/
nntrainer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4813b20
)
[COVERITY] remove unreachec code
accepted/tizen/unified/20220330.021238
submit/tizen/20220325.053530
author
jijoong.moon
<jijoong.moon@samsung.com>
Fri, 25 Mar 2022 02:51:40 +0000
(11:51 +0900)
committer
Jijoong Moon
<jijoong.moon@samsung.com>
Fri, 25 Mar 2022 05:31:03 +0000
(14:31 +0900)
This patch remove unreachable code
**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped
Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
nntrainer/tensor/manager.cpp
patch
|
blob
|
history
diff --git
a/nntrainer/tensor/manager.cpp
b/nntrainer/tensor/manager.cpp
index
4a88081
..
68a5b33
100644
(file)
--- a/
nntrainer/tensor/manager.cpp
+++ b/
nntrainer/tensor/manager.cpp
@@
-186,8
+186,6
@@
static Tensor *requestTensor_(const TensorSpecV2 &spec,
throw std::logic_error("requestTensor_ should not reach here");
}
- throw std::logic_error("requestTensor_ should not reach here");
-
return nullptr;
}