projects
/
platform
/
upstream
/
dldt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9489d1
)
[GNA] Initialize a local variable (#1067)
author
Denis Orlov
<denis.orlov@intel.com>
Mon, 22 Jun 2020 15:49:38 +0000
(18:49 +0300)
committer
GitHub
<noreply@github.com>
Mon, 22 Jun 2020 15:49:38 +0000
(18:49 +0300)
inference-engine/src/gna_plugin/gna_model_serial.cpp
patch
|
blob
|
history
diff --git
a/inference-engine/src/gna_plugin/gna_model_serial.cpp
b/inference-engine/src/gna_plugin/gna_model_serial.cpp
index
0e03155
..
f2a0465
100644
(file)
--- a/
inference-engine/src/gna_plugin/gna_model_serial.cpp
+++ b/
inference-engine/src/gna_plugin/gna_model_serial.cpp
@@
-170,7
+170,7
@@
void GNAModelSerial::Import(void *basePointer,
else
operation->Parameters = nullptr;
for (uint32_t i = 0; i < operation->NumberOfParameters; i++) {
- uint32_t paramSize;
+ uint32_t paramSize
= 0
;
readBits(paramSize, is);
if (paramSize == 0) {
operation->Parameters[i] = nullptr;