Merge pull request #1561 from stweil/cid

Fix CID 1390821 (Uninitialized variable)
This commit is contained in:
zdenop 2018-05-04 20:34:29 +02:00 committed by GitHub
commit 8e2344a4b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 &&