From c0c453ca30eb305d4d0c17586c13eef3c02362d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ivan=20Vagin/AI=20Tools=20Lab=20/SRR/Engineer/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 13 Dec 2018 13:28:26 +0300 Subject: [PATCH] [nnc] Initialize uninitialized variable in caffe2 importer (#2665) Initialize uninitialized variable in caffe2 importer Signed-off-by: Ivan Vagin --- contrib/nnc/include/passes/caffe2_frontend/caffe2_importer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/nnc/include/passes/caffe2_frontend/caffe2_importer.h b/contrib/nnc/include/passes/caffe2_frontend/caffe2_importer.h index db637ce..d6fd358 100644 --- a/contrib/nnc/include/passes/caffe2_frontend/caffe2_importer.h +++ b/contrib/nnc/include/passes/caffe2_frontend/caffe2_importer.h @@ -77,7 +77,7 @@ private: // This map maps caffe2 operators names to MIR operators // that correspond to previous caffe2 operators std::map _blobNameToIODescriptor; - mir::Operation* _lastMIROp; + mir::Operation* _lastMIROp = nullptr; std::map> _MIRTensors; -- 2.7.4