Skip to content

Commit

Permalink
[GNA] Initialize a local variable (openvinotoolkit#1067)
Browse files Browse the repository at this point in the history
  • Loading branch information
dorloff authored Jun 22, 2020
1 parent d9489d1 commit 85b8bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inference-engine/src/gna_plugin/gna_model_serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 85b8bdc

Please sign in to comment.