[base_loader] Remove unused variable (#8659)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Thu, 31 Oct 2019 09:57:59 +0000 (18:57 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 31 Oct 2019 09:57:59 +0000 (18:57 +0900)
Remove unused variable in `BaseLoader::loadOperand`.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/neurun/frontend/base_loader/base_loader.h

index 9226dce..7d5d98e 100644 (file)
@@ -190,7 +190,6 @@ template <typename LoaderDomain, typename SpecificLoader>
 void BaseLoader<LoaderDomain, SpecificLoader>::loadOperand(const Tensor *tensor)
 {
   model::Shape shape;
-  std::unique_ptr<model::Data> data_ptr;
   // Shape
   const auto *tensor_shape = tensor->shape();
   for (const auto &dim : *tensor_shape)