[Coverity] fix _type declaration (#18322)

* _type declaration

* fix _type init
This commit is contained in:
Andrei Gorbachev authored and GitHub committed 2023-07-06 09:32:44 +04:00
1 parent 2532fdb4f3
commit 87ed81f51c
1 file changed
+2 -1
@@ -800,7 +800,8 @@ primitive_inst::primitive_inst(network& network)
, _outputs({memory::ptr()})
, _reordered_weights_cache(network.get_weights_cache_capacity())
, _output_changed(false)
, _mem_allocated(false) {}
, _mem_allocated(false)
, _type(nullptr) {}
primitive_inst::primitive_inst(network& network, program_node const& node, bool allocate_memory)
: _network(network)