Skip to content

Commit

Permalink
Fix CID 1390821 (Uninitialized variable)
Browse files Browse the repository at this point in the history
It was introduced by my latest commit 21d5ce5.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed May 4, 2018
1 parent 7dea671 commit 7cf7d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lstm/static_shape.h
Expand Up @@ -60,7 +60,7 @@ class StaticShape {
}

bool DeSerialize(TFile *fp) {
int32_t tmp;
int32_t tmp = LT_NONE;
bool result =
fp->FReadEndian(&batch_, sizeof(batch_), 1) == 1 &&
fp->FReadEndian(&height_, sizeof(height_), 1) == 1 &&
Expand Down

0 comments on commit 7cf7d62

Please sign in to comment.